'Notice: Undefined variable: paramsvalues' (Resolved)

Mizpah 06 Jul, 2009
Heya Guys,

Enviroment is a local wamp server.

I have simple form submitting data, data is present in the db.

I have already applied the fix for the save error here, which fixed the original error.

I am now getting the following on submit:

Notice: Undefined variable: paramsvalues in C:\wamp\www\cse\administrator\components\com_chronoconnectivity\admin.chronoconnectivity.php on line 430

Fatal error: Call to a member function get() on a non-object in C:\wamp\www\cse\administrator\components\com_chronoconnectivity\admin.chronoconnectivity.php on line 430


The body only contain {cf_id} as a test, same is selected for the admin side. I am using the latest downloads (as of today).

Any thoughts ?
GreyHead 06 Jul, 2009
Hi Mizpah,

It looks like the parameters for the 'Connection' aren't being loaded correctly. Please will you turn on Global debug for the site and look for an sql query that looks like
SELECT * FROM jos_chronoconnectivity WHERE id='1'
(the id may be different). Then paste this into PHPMyAdmin and see if it shows any results.

Bob
Mizpah 06 Jul, 2009
Two queries being run that reference jos_chronoconnectivity.

(as seen on the chronoconnectivity admin page)

Firstly SELECT * FROM jos_chronoconnectivity

Secondly SELECT * FROM jos_chronoconnectivity WHERE id = '0'

Both return 0 records, which is in fact correct as there is nothing in the database, although we have a structure!

[attachment=0]chrono2.jpg[/attachment]

I assume its crashing at the point that it should be populating the DB ? (i.e. on first submit), due to it crashing, I dont get to see a clean page with the actions its tring to make when saving!
Mizpah 06 Jul, 2009
resolved!

I tracked it through and noticed that paramsvalues was not being populated in the first place!

Removed and reinstalled files, now working - have to suspect that this was somthing to do with editing files over lan/enviroment, had a few strange gremlins today!
GreyHead 07 Jul, 2009
Hi Mizpah,

Great to here it's working now!!

Bob

PS I use an FTP editor and occasionally I find that it's only updating the local cached copy - very frustrating :-(
This topic is locked and no more replies can be posted.