coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: mocangiu on March 16, 2006, 07:16:59 AM

Title: Upload problem
Post by: mocangiu on March 16, 2006, 07:16:59 AM
I have read the post on this forum an the bach upload work but i get this problem:

Parse error: parse error, unexpected T_ARRAY, expecting T_STRING in /home/vhosts/photo.orgfree.com/include/mailer.inc.php on line 2168


the debug code is:

USER:
------------------
Array
(
    [ID] => 2dbffca4c341bf7fda75b049d44b9820
    [am] => 1
    [lang] => english
    [liv] => Array
        (
        )

)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => mocangiu
    [groups] => Array
        (
           
Title: Re: Upload problem
Post by: Tranz on March 16, 2006, 07:39:14 AM
Reupload a fresh copy of include/mailer.inc.php
Title: Re: Upload problem
Post by: mocangiu on March 16, 2006, 07:48:39 AM
I have done this!!! didn't work... any other ideea?
Title: Re: Upload problem
Post by: Joachim Müller on March 16, 2006, 07:51:38 AM
make sure you're using the proper FTP mode, make sure your FTP client is setup correctly (to overwrite existing files on the server). To make sure, first delete include/mailer.inc.php, then upload it from a fresh coppermine package (download it from a different mirror)
Title: Re: Upload problem
Post by: mocangiu on March 18, 2006, 11:32:57 AM
I have done that earlyer, I founded a post here that geve a fresh copy I have downloaded that too, the problem still persist!
Ohter sugestions?
Title: Re: Upload problem
Post by: mocangiu on March 18, 2006, 11:40:55 AM
Module: mysql
------------------
module doesn't exist

may this be the problem? now after I have uploaded a new copy I can't batch upload, I did what it said on the other forum post and it worked until I have uploaded a new copy of mailer.inc.php
o and I do have mysql...
Title: Re: Upload problem
Post by: Joachim Müller on March 18, 2006, 01:08:11 PM
fix the http upload first - do as I suggested and switch back to single file uploads as suggested in the upload troubleshooting section. If you get a parse error in a file that belongs to the coppermine package, then something must have happened to the file during upload to the webserver. It needs fixing - mandatorily. Don't play around in various places. If you actually didn't have mysql at all, coppermine wouldn't do anything at all except displaying an error that says it wasn't able to connect to the mysql database. As this is not the case, you don't have to worry about mysql now.

Delete the file include/mailer.inc.php, then re-upload it. Post what FTP app you are using as well.
Title: Re: Upload problem
Post by: Rdfc on March 18, 2006, 09:13:14 PM
I thing the problem is because of the host (orgfree.com), I host my coppermine there too and I have the sames problems you got!

http://forum.coppermine-gallery.net/index.php?topic=29279.0

Maybe the solution is to move to another host   ??? ( the problem is that it is the only free one I found that support PHP and GD  :-[)
Title: Re: Upload problem
Post by: mocangiu on March 22, 2006, 05:23:47 PM
You were right sow I found an other site that suports GD. and it's free.
Sow the problem is solved
Title: Re: Upload problem
Post by: Rdfc on March 23, 2006, 09:17:32 PM
Can you tell us which is your new server?  ;D Thank you!