PDA

View Full Version : Error with module upload


defkalion
07-22-2009, 01:27 PM
I'm trying to fix a problem on a friend's site, where he had a problem with the poll module not displaying in any way, and after me trying everything I could imagine.

So as a last resort, I deleted the module and tried to re-upload it, but now vb returns this error:

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in xxxxxxxxxx\admincp\vba_cmps_admin.php on line 3958

Any ideas? I've chmod-ed the modules folder to 77 but still same error comes up.

Brian
07-23-2009, 09:28 AM
Which version of the CMPS is your friend running? And just to make sure, are you uploading the currentpoll.module file from the 'Extras (do not upload)/modules' folder in the CMPS package?

Our Sponsors
 

defkalion
07-23-2009, 11:06 AM
vbadvanced cmps v3.2.1

Yes I uploaded the module from that folder.

Brian
07-24-2009, 09:59 AM
Try uploading the attached XML file instead and see if you have the same problem.

Our Sponsors
 

defkalion
07-24-2009, 01:39 PM
Yup, same error message comes up. But now that I notice on the ftp, I see "0000" as properties of the modules folder, but I still get a "action performed successfully" when I chmod it to 777.

Brian
07-27-2009, 12:02 PM
Can you see a file called currentpoll.xml or currentpoll.module (NOT currentpoll.php) in the modules folder? If not, then it sounds like the file is never making it to the folder (perhaps because of the permissions) and that's something you would need to contact your host about.

defkalion
07-28-2009, 04:57 AM
Nope. So something having to do with his permissions. I'll tell him to contact the host about that.

Thanks for your help Brian. :)

defkalion
07-29-2009, 02:33 PM
Just wanted to share that problem has been resolved, after the host changed folder permissions to 777. Apparently, the ftp account they've given me did'nt have permissions to chmod the folder, but i wasn't getting a negative server response either.

thanks again for the help. :)

kushaaal
09-06-2009, 12:12 PM
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/includes/init.php(298) : eval()'d code(41) : eval()'d code on line 3

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in [path]/includes/init.php(298) : eval()'d code(41) : eval()'d code on line 3

I upgraded to new version 3.2.1

CareyCrew
09-06-2009, 01:06 PM
You should have started a new thread ............

Try this :

http://www.vbadvanced.com/forum/showthread.php?t=36175&highlight=Warning%3A+array_merge%28%29+Argument+%231+array+eval%28%29%27d+code%2 841%29+code+line