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: Running coppermine on my server  (Read 7127 times)

0 Members and 1 Guest are viewing this topic.

catchawave

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Running coppermine on my server
« on: June 21, 2009, 09:38:05 am »

Hi all,

I hope this is the correct are for this post as I have searched for similar errors and been unable to find anyone with the same problem.

I have installed coppermine 1.4.24 and it installed fine, but my server seems to run the script ok one minute then after a few clicks I get the error "page cannot be found" screen (like the url is incorrect), If I reload the page, it loads fine. It does this on random pages too.

After contacting them about this, they say that it runs the php script ok,

I wondered if anyone else has had trouble like this, its very random.

It is a great gallery and I would love to use it and I dont reckon it is script related as I have seen this running on mamy sites.

Any help or info would be great as I can pass on to my host (streamline.net)

My gallery is at http://www.catchawave.co.uk/cpg14x/index.php

Regards.

Andy
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Running coppermine on my server
« Reply #1 on: June 21, 2009, 10:51:43 am »

Looks like you did not only try to apply a vanilla copy of coppermine, but the shop hack as well - when going to http://www.catchawave.co.uk/cpg14x/sql/update.sql I can see
Code: [Select]
#
#add shop fields for shop hack
#
INSERT INTO CPG_config VALUES ('size1', '0');
INSERT INTO CPG_config VALUES ('size2', '0');
INSERT INTO CPG_config VALUES ('size3', '0');
INSERT INTO CPG_config VALUES ('size4', '0');
INSERT INTO CPG_config VALUES ('size5', '0');
INSERT INTO CPG_config VALUES ('size6', '0');
INSERT INTO CPG_config VALUES ('size7', '0');
INSERT INTO CPG_config VALUES ('size8', '0');
INSERT INTO CPG_config VALUES ('size9', '0');
INSERT INTO CPG_config VALUES ('size10', '0');
INSERT INTO CPG_config VALUES ('size11', '0');
INSERT INTO CPG_config VALUES ('size12', '0');
INSERT INTO CPG_config VALUES ('size13', '0');
INSERT INTO CPG_config VALUES ('size14', '0');
INSERT INTO CPG_config VALUES ('size15', '0');
INSERT INTO CPG_config VALUES ('size16', '0');
INSERT INTO CPG_config VALUES ('size17', '0');
INSERT INTO CPG_config VALUES ('size18', '0');
INSERT INTO CPG_config VALUES ('size19', '0');
INSERT INTO CPG_config VALUES ('size20', '0');
INSERT INTO CPG_config VALUES ('size1_price', '0');
INSERT INTO CPG_config VALUES ('size2_price', '0');
INSERT INTO CPG_config VALUES ('size3_price', '0');
INSERT INTO CPG_config VALUES ('size4_price', '0');
INSERT INTO CPG_config VALUES ('size5_price', '0');
INSERT INTO CPG_config VALUES ('size6_price', '0');
INSERT INTO CPG_config VALUES ('size7_price', '0');
INSERT INTO CPG_config VALUES ('size8_price', '0');
INSERT INTO CPG_config VALUES ('size9_price', '0');
INSERT INTO CPG_config VALUES ('size10_price', '0');
INSERT INTO CPG_config VALUES ('size11_price', '0');
INSERT INTO CPG_config VALUES ('size12_price', '0');
INSERT INTO CPG_config VALUES ('size13_price', '0');
INSERT INTO CPG_config VALUES ('size14_price', '0');
INSERT INTO CPG_config VALUES ('size15_price', '0');
INSERT INTO CPG_config VALUES ('size16_price', '0');
INSERT INTO CPG_config VALUES ('size17_price', '0');
INSERT INTO CPG_config VALUES ('size18_price', '0');
INSERT INTO CPG_config VALUES ('size19_price', '0');
INSERT INTO CPG_config VALUES ('size20_price', '0');
INSERT INTO CPG_config VALUES ('currency_symbol', '£');
INSERT INTO CPG_config VALUES ('currency', 'GBP');
INSERT INTO CPG_config VALUES ('paypal_email', '');

Additionally, you appear not to have uploaded all files from the coppermine package to your webserver - the folder http://www.catchawave.co.uk/docs/ appears to be missing. While that is not tragic, others might be missing as well. Try to get the vanilla package running first before applying any mods.
Logged

catchawave

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Running coppermine on my server
« Reply #2 on: June 21, 2009, 07:58:31 pm »

Hi Thanks for getting back.

I installed just a bog standard copy of coppermine first, which worked but with the same problems as above.

I was just experimenting with the Paypal hacks.

Tonight I will re install just the latest version. I also have a support ticket open with my host at the moment too.

I am gutted as the gallery looks the best and would love to get it stable and working well.

Just out of interest, when on my site did you get any errors with your browser not being able to load any of the coppermine pages.

Regards.
Andy
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Running coppermine on my server
« Reply #3 on: June 21, 2009, 08:01:05 pm »

30 seconds before I posted the above posting.
Logged

catchawave

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Running coppermine on my server
« Reply #4 on: June 21, 2009, 10:06:31 pm »

Hi

I have totally installed a fresh version now, Still getting the "internet Explorer cannot diplay the web page", press f5 to refresh and hey it loads OK,

Its doing my head in.

Hope you can help.

Regards.

Andy
Logged

Nibbler

  • Guest
Re: Running coppermine on my server
« Reply #5 on: June 21, 2009, 11:19:00 pm »

Check the server error log. Might be that the memory or execution time limit is too tight.
Logged

catchawave

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Running coppermine on my server
« Reply #6 on: June 22, 2009, 05:04:47 pm »

Hi, Can I change any of the the settings.

My error log reports the first time I load the gallery, my browser cannot find the page. But when I refresh, it loads OK.

Here is an extract from that file.

"GET /cpg14x/index.php HTTP/1.1" 200 - "-" "Mozilla/4.0 (compatible; MSIE 7.0;............etc - First load.- page cannot be found
"GET /cpg14x/index.php HTTP/1.1" 200 29824 "-" "Mozilla/4.0 (compatible; MSIE...............ect - Second load, loaded ok

what does the number 29824 mean as it was there on the second load but not the first.

Does this mean anything

regards.
Andy
Logged

Nibbler

  • Guest
Re: Running coppermine on my server
« Reply #7 on: June 22, 2009, 05:18:18 pm »

The number is the size of the response (ie. the webpage) in bytes. The first try has no number because no page was returned. That file is the access log however, you need to be looking at the error log.
Logged

catchawave

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Running coppermine on my server
« Reply #8 on: June 22, 2009, 05:35:45 pm »

Hi Nibbler,

I have just been into the gallery and has shown this fault twice. But when I look at the error_log file it wasnt modified  since the 21st june that was when I installed the gallery.

Seems the error doesnt get logged as the script is running ok but my browser sometimes wont load the pages first time.

Wierd eh.
Any ideas
Andy
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Running coppermine on my server
« Reply #9 on: June 22, 2009, 07:25:31 pm »

You're maybe not looking at the right file. Nibbler was not refering to coppermine's log, but the webserver's error log. It's very unlikely that there haven't been errors for a whole day.
Logged

catchawave

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Running coppermine on my server
« Reply #10 on: June 22, 2009, 08:00:10 pm »

Hi Guys,

The error file I was looking at was in a folder called logs above my HTDOCS folder. I can email it to you if needed.

My server still hasnt got back to me about this problem. I dont seem to be able to run any PHP files on streamline without running into loading problems.

Andy
Logged

Nibbler

  • Guest
Re: Running coppermine on my server
« Reply #11 on: June 22, 2009, 08:02:32 pm »

Check the memory and execution time limits on Coppermine's phpinfo.php page (the actual page output, not the source code).
Logged

catchawave

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Running coppermine on my server
« Reply #12 on: June 22, 2009, 08:41:18 pm »

They are both set to 20M

Is that correct.
Andy
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: Running coppermine on my server
« Reply #13 on: June 22, 2009, 08:54:11 pm »

There should be no M in the execution time settings. 30 is the default max_execution_time, if there is a M  (ie 20M) there then you have a problem.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

catchawave

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Running coppermine on my server
« Reply #14 on: June 22, 2009, 09:07:59 pm »

Guys,

Max execution time - 20
memory limit - 20m

these are the only entries I can find

are some of them wrong
Logged

catchawave

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Running coppermine on my server
« Reply #15 on: June 23, 2009, 10:03:03 am »

Guys,

Could be something wrong with my domain as I have loaded coppermine onto one of my sub domains and it runs fine.

I will contact my host again.

Many thanks for everyones help.

Regards.
Andy
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 20 queries.