Advanced search  

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]

Pages: [1] 2 3   Go Down

Author Topic: CPG 1.4.8 - Error after installation is successful  (Read 18250 times)

0 Members and 1 Guest are viewing this topic.

callingrohit

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
CPG 1.4.8 - Error after installation is successful
« on: August 14, 2006, 07:45:28 pm »

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
« Last Edit: August 27, 2006, 10:18:16 pm by GauGau »
Logged

Nibbler

  • Guest
Re: CPG 1.4.8 - Error after installation is successful
« Reply #1 on: August 14, 2006, 07:51:46 pm »

Re-upload the files.
Logged

callingrohit

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Re: CPG 1.4.8 - Error after installation is successful
« Reply #2 on: August 15, 2006, 04:15:07 am »

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
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: CPG 1.4.8 - Error after installation is successful
« Reply #3 on: August 15, 2006, 05:41:18 am »

first try Re-uploading function.inc.php
Logged
‍I don't answer to PM with support question
Please post your issue to related board

callingrohit

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Re: CPG 1.4.8 - Error after installation is successful
« Reply #4 on: August 15, 2006, 05:53:24 am »

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
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: CPG 1.4.8 - Error after installation is successful
« Reply #5 on: August 15, 2006, 05:56:58 am »

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

callingrohit

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: CPG 1.4.8 - Error after installation is successful
« Reply #7 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.
Logged

callingrohit

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Re: CPG 1.4.8 - Error after installation is successful
« Reply #8 on: August 15, 2006, 07:34:39 am »

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
« Last Edit: August 15, 2006, 07:45:51 am by callingrohit »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: CPG 1.4.8 - Error after installation is successful
« Reply #9 on: August 15, 2006, 07:37:09 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.
Logged

callingrohit

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Re: CPG 1.4.8 - Error after installation is successful
« Reply #10 on: August 15, 2006, 07:43:00 am »

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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: CPG 1.4.8 - Error after installation is successful
« Reply #11 on: August 15, 2006, 07:45: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.
Logged

callingrohit

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Re: CPG 1.4.8 - Error after installation is successful
« Reply #12 on: August 15, 2006, 07:46:30 am »

I I captain..... ;)
Logged

callingrohit

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Re: CPG 1.4.8 - Error after installation is successful
« Reply #13 on: August 15, 2006, 07:02:36 pm »

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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: CPG 1.4.8 - Error after installation is successful
« Reply #14 on: August 15, 2006, 07:20:07 pm »

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
Code: [Select]
?>
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: CPG 1.4.8 - Error after installation is successful
« Reply #15 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
Logged
‍I don't answer to PM with support question
Please post your issue to related board

callingrohit

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Re: CPG 1.4.8 - Error after installation is successful
« Reply #16 on: August 15, 2006, 07:41:32 pm »

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
Logged

callingrohit

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Re: CPG 1.4.8 - Error after installation is successful
« Reply #17 on: August 15, 2006, 07:44:06 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
Logged

callingrohit

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Re: CPG 1.4.8 - Error after installation is successful
« Reply #18 on: August 15, 2006, 07:55:54 pm »

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
Logged

callingrohit

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Re: CPG 1.4.8 - Error after installation is successful
« Reply #19 on: August 18, 2006, 04:44:31 am »

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
Logged
Pages: [1] 2 3   Go Up
 

Page created in 0.021 seconds with 13 queries.