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]   Go Down

Author Topic: Sometimes the gallery just dissapears... Why?  (Read 4085 times)

0 Members and 1 Guest are viewing this topic.

roxanacaz

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Female
  • Posts: 37
  • If you build it, they will come.
    • Muc cel Mic - Magazin pentru pitic
Sometimes the gallery just dissapears... Why?
« on: January 24, 2008, 07:56:33 am »

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....
« Last Edit: January 30, 2008, 05:34:02 pm by Joachim Müller »
Logged

François Keller

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9094
  • aka Frantz
    • Ma galerie
Re: Sometimes the gallery just dissapears... Why?
« Reply #1 on: January 24, 2008, 07:59:33 am »

give us a link to your gallery
Logged
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

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Sometimes the gallery just dissapears... Why?
« Reply #2 on: January 24, 2008, 08:12:58 am »

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.
Logged

roxanacaz

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Female
  • Posts: 37
  • If you build it, they will come.
    • Muc cel Mic - Magazin pentru pitic
Re: Sometimes the gallery just dissapears... Why?
« Reply #3 on: January 24, 2008, 08:28:00 am »

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.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Sometimes the gallery just dissapears... Why?
« Reply #4 on: January 24, 2008, 08:36:21 am »

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).
Logged

roxanacaz

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Female
  • Posts: 37
  • If you build it, they will come.
    • Muc cel Mic - Magazin pentru pitic
Re: Sometimes the gallery just dissapears... Why?
« Reply #5 on: January 24, 2008, 08:54:03 am »

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.
Logged

roxanacaz

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Female
  • Posts: 37
  • If you build it, they will come.
    • Muc cel Mic - Magazin pentru pitic
Re: Sometimes the gallery just dissapears... Why?
« Reply #6 on: January 30, 2008, 07:50:50 am »

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.
Logged

François Keller

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9094
  • aka Frantz
    • Ma galerie
Re: Sometimes the gallery just dissapears... Why?
« Reply #7 on: January 30, 2008, 07:59:09 am »

Quote
I 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  ;)
Logged
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

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Sometimes the gallery just dissapears... Why?
« Reply #8 on: January 30, 2008, 10:21:47 am »

require('include/init.inc.php');
To be safe, change
Code: [Select]
require('include/init.inc.php');to
Code: [Select]
require_once('include/init.inc.php');
Logged

roxanacaz

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Female
  • Posts: 37
  • If you build it, they will come.
    • Muc cel Mic - Magazin pentru pitic
Re: Sometimes the gallery just dissapears... Why?
« Reply #9 on: January 30, 2008, 10:44:50 am »

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. ;)
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Sometimes the gallery just dissapears... Why?
« Reply #10 on: January 30, 2008, 10:54:43 am »

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.
Logged

roxanacaz

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Female
  • Posts: 37
  • If you build it, they will come.
    • Muc cel Mic - Magazin pentru pitic
Re: Sometimes the gallery just dissapears... Why?
« Reply #11 on: January 30, 2008, 11:03:26 am »

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

Page created in 0.023 seconds with 19 queries.