Welcome, Guest
Username: Password: Remember me

TOPIC: [SOLVED] Problem toolbox

[SOLVED] Problem toolbox 07 Nov 2011 21:01 #435

  • cpicoli
  • cpicoli's Avatar
  • Offline
  • New Member
  • Posts: 19
  • Karma: 0
Good night

First congratulations tool is great!

I'm doing a project and created layouts and frontend / backend with fields and toolbar. When running the sandbox works perfectly when downloading prem component on my server and install the toolbar does not appear and I get the error:

Warning: get_class() expects parameter 1 to be object, array given in C:\wamp\www\dev\administrator\components\com_template\dom\html\toolbar.php on line 53

I am using joomla 1.5.24 and php 5.2.17.

What am I doing wrong?

* Excuse the poor English, I used google translate:)
Last Edit: 15 Nov 2011 16:26 by admin.
The administrator has disabled public write access.

Re: Problem toolbox 08 Nov 2011 09:35 #436

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 984
  • Karma: 140
I tried your projects, it works perfectly.

Are you logged in front-end ?
Does the user account have the rights to edit ?
Do you want everybody can manage the database ? ;-)


Some notices I found in your component :
- Don't call your component 'com_template'. It is too much generic I think. Cook don't block specials names, you can even call your component 'com_admin'. But be CAREFUL when you do this. In the sandbox, it is not a problem, but it can highly damage your Joomla installation if you call your component same name than another. (v1.5 is safe for this, but 1.6 and after : be careful)

- I saw you specified some redirections to the front form layout for all task buttons, in the same form layout. Means that the user can't go back to the list, even with the cancel button. Is this normal ?




Ok for the Warning. The Warnings don't block the application, but must be cleaned. Thank you for your notice.
Coding is now a piece of cake
The administrator has disabled public write access.

Re: Problem toolbox 09 Nov 2011 12:06 #448

  • cpicoli
  • cpicoli's Avatar
  • Offline
  • New Member
  • Posts: 19
  • Karma: 0
Hello,

Thank you for your attention. Answering the questions:
Yes, I am logged in the frontend and the user is super admin.

I erased and re-created without the component redirects the buttons on the toolbar.

In snadbox works correctly, but when I download the component I get 3 message as mentioned above, which appears only the "cancel" button.

What is the problem?
The administrator has disabled public write access.

Re: Problem toolbox 09 Nov 2011 12:22 #449

  • cpicoli
  • cpicoli's Avatar
  • Offline
  • New Member
  • Posts: 19
  • Karma: 0
When performing the installation on my joomla and assign the component to a menu item I get this error:

Deprecated: Call-time pass-by-reference has been deprecated in C: \ wamp \ www \ dev \ administrator \ components \ com_reservas \ elements \ itemsazonalidadeitem.php on line 47

In the line of the file is a "&" generated in the package. By removing this error disappears but still the new buttons, edit and delete the toolbar does not appear ...
The administrator has disabled public write access.

Re: Problem toolbox 09 Nov 2011 14:31 #450

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 984
  • Karma: 140
Warnings and deprecated "&" Should be solved now.


For the tasks, I don't understand what is your problem.
I installed your component. Everything works perfectly.

Do you have JS bug ?

Try on a fresh 1.5.24 Installation maybe.
Coding is now a piece of cake
The administrator has disabled public write access.

Re: Problem toolbox 09 Nov 2011 14:34 #451

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 984
  • Karma: 140
I'm doing a project and created layouts and frontend / backend with fields and toolbar

You don't created any back-end layout for the moment.

If you search for your component in back-end, it's normal you don't have anything.
Coding is now a piece of cake
The administrator has disabled public write access.

Re: Problem toolbox 09 Nov 2011 15:23 #452

  • cpicoli
  • cpicoli's Avatar
  • Offline
  • New Member
  • Posts: 19
  • Karma: 0
Ok, I created the backend again now.

The warnings are gone but the frontend still visible toolbar button only "cancel". Where are the other buttons?

Visualized by firebug some JS errors:

ERROR 404 NOT FOUND

http://localhost/dev%5Cincludes%5Cjs%5Cjoomla.javascript.js
http://localhost/dev%5Cadministrator%5Ccomponents%5Ccom_reservas%5Cdom%5Cassets%5Cjdom.js
http://localhost/dev%5Cadministrator%5Ccomponents%5Ccom_reservas%5Cjs%5Cformvalidator.js


I'm in a new installation of joomla 1.5.4

Thank you for your attention
The administrator has disabled public write access.

Re: Problem toolbox 09 Nov 2011 19:24 #455

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 984
  • Karma: 140
Why do you have some strange formated paths ?
Are the links really writen with special chars ?

For exemple :
includes/js/joomla.javascript.js
Is not a Cook generated file.

Are the other files presents in your component ?

Maybe a confusion between / and \ on windows. ?..

I have the source code of your component, so no need to resend me it.


I really don't know for the moment.

Does others users got this problem ?
Coding is now a piece of cake
The administrator has disabled public write access.

Re: Problem toolbox 09 Nov 2011 21:44 #460

  • twev
  • twev's Avatar
  • Offline
  • Senior Member
  • Posts: 62
  • Thank you received: 15
  • Karma: 6
I have just tried one of my applications running under xampp and I get a similar error:
Warning: get_class() expects parameter 1 to be object, array given in C:\xampp\xampp\htdocs\j17\administrator\components\com_records\dom\html\toolbar.php on line 53
My setup is:
PHP Built On Windows NT SAMSUNG 6.1 build 7601 ((null) Service Pack 1) i586
Database Version 5.1.41
Database Collation utf8_general_ci
PHP Version 5.3.1
Web Server Apache/2.2.14 (Win32) DAV/2 mod_ssl/2.2.14 OpenSSL/0.9.8l mod_autoindex_color PHP/5.3.1 mod_apreq2-20090110/2.7.1 mod_perl/2.0.4 Perl/v5.10.1
WebServer to PHP Interface apache2handler
Joomla! Version Joomla! 1.7.0 Stable [ Ember ] 19-Jul-2011 14:00 GMT
Joomla! Platform Version Joomla Platform 11.1 Stable+Modified [ Ember ] 01-Jun-2011 06:00 GMT
User Agent Mozilla/5.0 (Windows NT 6.1; rv:7.0.1) Gecko/20100101 Firefox/7.0.1


It works OK on my test and production servers running LAMP
Last Edit: 09 Nov 2011 21:49 by twev.
The administrator has disabled public write access.

Re: Problem toolbox 09 Nov 2011 22:02 #461

  • cpicoli
  • cpicoli's Avatar
  • Offline
  • New Member
  • Posts: 19
  • Karma: 0
Hi,

Yes, the files are on the component.

I made a snapshot of my screen with the problem so you can see better. Note that only the cancel button is available in the toolbox.

The administrator has disabled public write access.

Re: Problem toolbox 10 Nov 2011 08:16 #463

  • twev
  • twev's Avatar
  • Offline
  • Senior Member
  • Posts: 62
  • Thank you received: 15
  • Karma: 6
Please ignore my last post. I tested it again on XAMPP and its working OK. Last night I had tried it with an incomplete version of my component. This morning I downloaded the latest version and it runs OK on a local machine.
The administrator has disabled public write access.

table entry problem 10 Nov 2011 15:00 #469

  • MartyO
  • MartyO's Avatar
  • Offline
  • New Member
  • Posts: 1
  • Karma: 0
I have created a component and can enter and save data in the table using the Sandbox. The component installs on my Windows XP machine (running Joomla 1.5 under Apache XAMPP). I can enter data for the table in the component but the component will not save the data. What am I doing wrong? Thank you for your help.
MartyO
The administrator has disabled public write access.

Re: Problem toolbox 14 Nov 2011 12:34 #495

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 984
  • Karma: 140
Up.


Does the problem still present ?
Coding is now a piece of cake
The administrator has disabled public write access.

Re: Problem toolbox 14 Nov 2011 16:14 #498

  • twev
  • twev's Avatar
  • Offline
  • Senior Member
  • Posts: 62
  • Thank you received: 15
  • Karma: 6
I am going to load the latest version of xampp on a faster machine so I will let you know.
The administrator has disabled public write access.

Re: Problem toolbox 14 Nov 2011 18:52 #499

  • cpicoli
  • cpicoli's Avatar
  • Offline
  • New Member
  • Posts: 19
  • Karma: 0
Hi,

Yes, the problem remains ... :-(
The administrator has disabled public write access.
Time to create page: 0.118 seconds

Get Started