CPG 1.4.8 - Error after installation is successful CPG 1.4.8 - Error after installation is successful
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

CPG 1.4.8 - Error after installation is successful

Started by callingrohit, August 14, 2006, 07:45:28 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

callingrohit

Hi,

I uploaded the contents of cpg148 and chmod album and include folders. Ran the install script...got successful message. Clicked on
login or continue to logon to the system.

I get the following error then,
Parse error: syntax error, unexpected T_STRING, expecting T_VARIABLE or '$' in /usr/shared/web/george/IMP/cpg148/include/functions.inc.php on line 1790

What should I do now ??? I have no idea....please help...

thanks
rohit


callingrohit

Hi nibbler,

do you mean to say I should upload all the files of cpg148...10 MB.....it took a long time....can't i just upload all the include files ????

What does that error actually mean ? because i checked 1790 line under functions.inc.php and i didn't see any syntax error there....

cheers
rohit

Sami

‍I don't answer to PM with support question
Please post your issue to related board

callingrohit

hi,

i have done that...i have reinstalled the whole package thrice.
Still no luck.....

The software is so kool and yet i'm unable to use it... :( :(

???

thanks
rohit

Sami

‍I don't answer to PM with support question
Please post your issue to related board


Joachim Müller

If re-uploading didn't help, then there are two other possible reasons for that error message:
  • the files are already broken on your client (in this case, re-download the coppermine package from a different mirror)
  • There's something fishy with your FTP client. Make sure that you're using a real FTP app (like FileZilla, SmartFTP or WS_FTP), not some crap like MS Frontpage. Make sure that you're usingg the proper FTP mode.

callingrohit

#8
Hi,

I use CUTE FTP PRO and the mode is always auto and the ftp client is intelligent enough to upload the files in correct mode. I have been using it since last 3 years and never faced a problem.

But I think on the first point you may be right that maybe the actual file while downloading may be corrupted. I'll download it again and see how it goes....

by the way I would also like to congratulate you guys for making such a wonderful software. Its just awesome.....there are so many possibilities and its totally adaptable...best is the MAC OS X theme...i loved it....which files should i touch if i would like to modify the whole theme and create a customised one.....
i'll do the download and upload tonite....will let you know how it goes....

cheers
rohit

Joachim Müller

Quote from: callingrohit on August 15, 2006, 07:34:39 AM
which files should i touch if i would like to modify the whole theme and create a customised one.....
We have a strict "one question per thread" policy you agreed to respect when signing up. Do so - fix the issue being discussed on this thread. Then read the documentation. If this doesn't solve your additional question, post it in a separate thread.

callingrohit

oops sorry guys,

didn't carefully read the fine lines of terms and conditions....was too excited with the software...

anyways thanks...i'll see if i can edit my reply and delete the xtra question....

thanks
rohit

Joachim Müller

Quote from: callingrohit on August 15, 2006, 07:43:00 AM
i'll see if i can edit my reply and delete the xtra question....
Don't! It makes the subsequent answer look silly and msiplaced. Leave your posting as it is, go back to solving your issue by doing as suggested.


callingrohit

Hi,

i deleted all my files from the webhost. Uploaded all of them again and successfully configured it.

Now, this time I didn't get the error i pasted above but got a blank page at the following link
http://www.georgesofnorwood.com.au/IMP/cpg/login.php

Now what do you think might be the problem.

Thanks
Rohit

Joachim Müller

So you swapped one error with a completely different one. Sigh. You should have done exactly as suggested - instead of deleting everything and starting over, I recommend to do what supporters advice if you actually want support.
Blank pages usually are being caused be white space or blank lines being in a file. Edit login.php with a plain-ext editor. Make sure that it doesn't contain anything (no spaces nor line breaks) after the ending tag?>

Sami

I've got the old error (function.inc.php line 1790)
May be your host disabled urldecode or getimagesize functions of php ask them for support
‍I don't answer to PM with support question
Please post your issue to related board

callingrohit

hi,

sorry i should have said that after reloading all files once i deleted all the files, i got the blank page. So I thought maybe the include folder got corrupted...so i deleted the include folder and uploaded that folder again. tried the install didn't work.

Third try......i removed everything and uploaded all files again, set permissions correctly on albums and include folder to 777 and installed the software. installed correctly...sql tables formed.....clicked on "Lets continue or login" to logon...blank page...refreshed the page got the same error with which i started this topic
Parse error: syntax error, unexpected T_STRING, expecting T_VARIABLE or '$' in /usr/shared/web/george/IMP/cpg/include/functions.inc.php on line 1790

The file"login.php" has been checked...it has no spaces or line breaks after the ending tag of php.

thanks
rohit

callingrohit

Quote from: bmossavari on August 15, 2006, 07:40:54 PM
I've got the old error (function.inc.php line 1790)
May be your host disabled urldecode or getimagesize functions of php ask them for support

Is there a way to get around this ??? or do I need to get them to enable it because not sure if they will if they have disabled it ......

thanks
rohit

callingrohit

Quote from: GauGau on August 15, 2006, 07:28:00 AM
If re-uploading didn't help, then there are two other possible reasons for that error message:
  • the files are already broken on your client (in this case, re-download the coppermine package from a different mirror)
  • There's something fishy with your FTP client. Make sure that you're using a real FTP app (like FileZilla, SmartFTP or WS_FTP), not some crap like MS Frontpage. Make sure that you're usingg the proper FTP mode.

Ans to 1- This has been done. I had downloaded my file from europe...now i did it from australia.
Ans to 2- using CUTE FTP PRO.

thanks
rohit

callingrohit

Hi.,..I have had no luck...I have uploaded all the files thrice uptill now...making it atleast 10 installations......still no luck.....

urldecode or getimagesize functions are not disabled by our host....

regards
rohit