Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Error message on my website related to Coppermine  (Read 5458 times)

0 Members and 1 Guest are viewing this topic.

ringsidephotos

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Error message on my website related to Coppermine
« on: April 09, 2014, 02:59:25 pm »

I had Coppermine installed a very long time ago. I tried to go onto my site and this error appeared. My web hosting company says it's a Coppermine issue. Can someone help me get my website back up?

This is the error:
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/rings3/public_html/coppermine/index.php on line 158

This is the message I received from my web hosting company (Lunarpages)
We have scanned your account and found its clean. The error in question is related to "
/home/rings3/public_html/coppermine/index.php" page code. Could you please ensure with your developer whether the page code is syntactically correct or not.
Logged

ringsidephotos

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Error message on my website related to Coppermine
« Reply #1 on: April 09, 2014, 03:07:47 pm »

I had Coppermine installed a very long time ago. I tried to go onto my site and this error appeared. My web hosting company says it's a Coppermine issue. Can someone help me get my website back up? The website is: www.ringsidephotos.com

This is the error:
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/rings3/public_html/coppermine/index.php on line 158

This is the message I received from my web hosting company (Lunarpages)
We have scanned your account and found its clean. The error in question is related to "
/home/rings3/public_html/coppermine/index.php" page code. Could you please ensure with your developer whether the page code is syntactically correct or not.
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: Error message on my website related to Coppermine
« Reply #2 on: April 09, 2014, 03:40:06 pm »

Why are you quoting yourself?

Please supply a link to your gallery so we can investigate.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

ringsidephotos

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Error message on my website related to Coppermine
« Reply #3 on: April 09, 2014, 03:49:35 pm »

My mistake (the quote) I was adding the link to my website with the error. The website is: www.ringsidephotos.com.
Logged

lurkalot

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 947
  • +Tinyportal Support team.
Re: Error message on my website related to Coppermine
« Reply #4 on: April 09, 2014, 06:10:56 pm »

Sounds like your index.php file has been modified for some reason.  What version are you using? is it up to date.
Logged
Running SMF 2.1.4  / Tinyportal 3.0.0, bridged with Coppermine 1.6.25, plus cpmfetch 2.0.0

ringsidephotos

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Error message on my website related to Coppermine
« Reply #5 on: April 09, 2014, 07:00:50 pm »

It has not been updated in a long time. I had someone who installed Coppermine and then maintained it for years, but is no longer able to help me. To get into the website, you need a password and login. I don't want to post it here.
Logged

lurkalot

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 947
  • +Tinyportal Support team.
Re: Error message on my website related to Coppermine
« Reply #6 on: April 09, 2014, 08:51:05 pm »

It has not been updated in a long time. I had someone who installed Coppermine and then maintained it for years, but is no longer able to help me. To get into the website, you need a password and login. I don't want to post it here.

Sorry but giving me login details won't help, as I won't be able to log in either. 

I'm assuming you're running Coppermine 1.5.x as opposed to 1.4.x as you posted in the 1.5.x support board.  If that's the case you could try uploading a fresh copy of the index.php file. You'll need to do this via FTP or your servers file manager.
Logged
Running SMF 2.1.4  / Tinyportal 3.0.0, bridged with Coppermine 1.6.25, plus cpmfetch 2.0.0

ringsidephotos

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Error message on my website related to Coppermine
« Reply #7 on: April 09, 2014, 08:57:01 pm »

I apologize, but I'm not sure what version of Coppermine it is. I relied on someone who handled everything on my website. How would I reinstall that file?
Logged

lurkalot

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 947
  • +Tinyportal Support team.
Re: Error message on my website related to Coppermine
« Reply #8 on: April 09, 2014, 09:27:37 pm »

Do you have server login details?  (please don't post them here). 
Logged
Running SMF 2.1.4  / Tinyportal 3.0.0, bridged with Coppermine 1.6.25, plus cpmfetch 2.0.0

gmc

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 785
    • GMC Design Photo Gallery
Re: Error message on my website related to Coppermine
« Reply #9 on: April 10, 2014, 04:48:51 am »

Certainly sounds like index.php is corrupted...
login.php will load - and from the source code has a 'footprint' of 1.4.25.

As lurkalot said - access to the server (FTP or Control Panel) would be needed for one of us to verify.
If you are still running 1.4, you will want to upgrade.
Logged
Thanks!
Greg
My Coppermine Gallery
Need a web hosting account? See my gallery for an offer for CPG Forum users.
Send me money

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: Error message on my website related to Coppermine
« Reply #10 on: April 10, 2014, 06:21:32 pm »

He's using 1.4.23 - http://www.ringsidephotos.com/sql/update.sql

Visiting that file is always the best when trying to determine a CPG version. ;)
Logged
It is a mistake to think you can solve any major problems just with potatoes.

gmc

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 785
    • GMC Design Photo Gallery
Re: Error message on my website related to Coppermine
« Reply #11 on: April 11, 2014, 12:57:12 pm »

OK... so we know you are using a 1.4 release - so an upgrade is needed as well.
How much work that is depends on the level of customizations.

For a 'vanilla' environment, the basic instructions are at:
http://documentation.coppermine-gallery.net/en/upgrading.htm

For custom themes, that doc includes a link to a separate section on converting themes:
http://documentation.coppermine-gallery.net/en/theme_upgrade_14x-15x.htm

For plugins in use - assuming they are available for 1.5 as well, the conversion is simple... Unique plugins may require more effort.

And of course if any custom modifications were made to CPG code, those would have to be found and refitted.  I would typically do this by comparing the original release package files with the current files.  We seem to have at least one corrupted file (index.php) - unless you have a backup of it saved.

From your post, it seems you weren't the one installing and maintaining Coppermine.  We typically recommend doing the upgrade yourself to learn how - and be able to apply future upgrades. I would suggest creating a test copy of the gallery (if you don't already have one) and trying the upgrade there first.

There is a freelance board if you do want to request (paid) help to do so:
http://forum.coppermine-gallery.net/index.php/board,30.0.html
(I have done this for others and would be willing to - I am traveling this week, but would be available starting monday.)

Greg
Logged
Thanks!
Greg
My Coppermine Gallery
Need a web hosting account? See my gallery for an offer for CPG Forum users.
Send me money
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 19 queries.