Sometimes the gallery just dissapears... Why? Sometimes the gallery just dissapears... Why?
 

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

Main Menu

Sometimes the gallery just dissapears... Why?

Started by roxanacaz, January 24, 2008, 07:56:33 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

roxanacaz

Hi. I have the latest version of coppermine installed, Apache version 1.3.34 (Unix), PHP version 4.3.11, MySQL version 4.1.22-standard-log, Operating system Linux - I hope that's all the useful info you need.

The thing is that some days the gallery shows up just fine and everything works, bnut then, some days it's just not there - it's a blank page. If, for example, I try  in the browser http://www. site . com/search.php - or any other file - that seems to be ok, it shows up as usual.

So, one day I have an index page, the other I have a blank a page. And this is a recent problem - I've had this gallery for years now and never had this issue before.

My hosting says it's not their fault at all, I asked. What other explanation could be? If any one has the smallest idea....

François Keller

Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

Joachim Müller

You specify all version numbers of the apps you use, yet you fail to specify your coppermine version. Coppermine has got a version number system for the same reason other apps have one. Saying "I have the latest version" is just nonsense. As Frantz suggested: post real-world links, not dummy placeholders.

roxanacaz

OK You are right... I am wrong...  :)
It's not the latest version, it's 1.4.13. And the address is this.

I've just logged in as admin; I didn't do that until now when the gallery was gone and saw what the error was on index - Fatal error: Cannot redeclare get_smilies_table1() in /home/cccccc/public_html/include/smilies.inc.php on line 28 - So, I'll upgrade to 1.4.14 and come back if the error persists.

Joachim Müller

As I suspected, you're wrong again. The most recent stable release currently is cpg1.4.14, not cpg1.4.13. See: that's why you're suppossed to post version numbers instead of saying "most recent". Upgrade!
You appear to be including coppermine into another page (using PHP's include/require commands), which simply isn't possible.
Post a real link to your coppermine gallery (if you haven't already crippled it beyond recovery by including it).

roxanacaz

For years I've been using coppermine semi - integrated with osc - there was once a contribution on the oscommerce site - it's gone now, it's been gone for a long time. But I've never had real issues with coppermine and oscommerce together.

This problem with the gallery appearing and dissapearing is since 3 or 4 weeks ago. I don't believe including it in oscommerce is the problem - it hasn't been a problem since 2005.

Indeed, I need to upgrade, last time I ran versioncheck.php it was 13, just slipped my mind to verify again before posting.

Thank you for your answers, i'll come back to tell you if the upgrade was the solution or not.

roxanacaz

As I said, I'm back to tell you what happened.
I upgraded to v 1.4.14 (as far as know, this is the latest right now). And I got a different  error after that - a fatal error about cpggetmicrotime (or something like that - didn't write it down). So, after a bit of reading on the forums, I decided that the solution was to delete a line that was doubled because I have coppermine files merged with oscommerce code - or something like that  ;D It was: require('include/init.inc.php');
So, now everything is working just fine - I hope it lasts. If not, I'll come back for help.  :)
Thank you.

François Keller

QuoteI upgraded to v 1.4.14 (as far as know, this is the latest right now).
No chance, yesterday was the cpg1.4.15 vesion released  ;)
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

Joachim Müller

Quote from: roxanacaz on January 30, 2008, 07:50:50 AM
require('include/init.inc.php');
To be safe, changerequire('include/init.inc.php');torequire_once('include/init.inc.php');

roxanacaz

Thank you, I'll do that!  :)

Indeed, I checked... 15 is the latest now .... I'm laughing now.... because upgrading again means a bit of work... I have to re "integrate" with oscommerce.... OK Why, why couldn't I have waited one more day?!  ;D

I guess I'll wait until some kind of error appears and then upgrade. I guess I'm not a very lucky person. ;)

Joachim Müller

Waiting for an error to appear is not a bright strategy. Malevolent people will compare what has changed from cpg1.4.14 to cpg1.4.15, find out about the vulnerabilities that caused the fix, develop an exploit and run that exploit against galleries that haven't upgraded. It's only a matter of time imo. I'm not saying that your gallery will definitely get hacked, but it's much more likely that this will happen if you don't upgrade.

roxanacaz

I know... You're right, of course and I'll have to do it, but it's frustrating to know that I could have done it once instead of twice in the same week  ::) Well, the best thing is that the gallery works, so it deserves an upgrade.  ;D