Current time: 09-28-2024, 07:29 PM Hello There, Guest! (LoginRegister)


Thread Closed 
Can't use string ("") as an ARRAY ref...
Author Message
Norri Offline


Posts: 3
Joined: Aug 2009
Reputation: 0
Post: #2
RE: Can't use string ("") as an ARRAY ref...
Okay, I got a bit further and it doesn't seem to be an ispCP issue after all!

I added:

Code:
warn $main::db->errstr;

before:

Code:
push_el(\@main::el, 'doSQL()', 'ERROR: Incorrect SQL Query -> '.$main::db -> errstr);

in ispcp_common_methods.pl and got:
MySQL server has gone away at /var/www/ispcp/engine/ispcp_common_methods.pl line 295.

Any advice on how to fix this? I don't know much about MySQL :/
I upped the MySQL timeout in my.cnf (after reading this) and it's working! Smile

Hope this helps someone else out there! What a small silly issue and definitely NOT ispCP's fault!
(This post was last modified: 08-03-2009 06:55 PM by Norri.)
08-03-2009 06:40 PM
Find all posts by this user
Thread Closed 


Messages In This Thread
RE: Can't use string ("") as an ARRAY ref... - Norri - 08-03-2009 06:40 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)