Running coppermine on my server Running coppermine on my server
 

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]

Main Menu

Running coppermine on my server

Started by catchawave, June 21, 2009, 09:38:05 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

catchawave

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

Joachim Müller

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

catchawave

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

Joachim Müller

30 seconds before I posted the above posting.

catchawave

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

Nibbler

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

catchawave

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

Nibbler

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.

catchawave

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

Joachim Müller

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.

catchawave

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

Nibbler

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

catchawave

They are both set to 20M

Is that correct.
Andy

phill104

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.
It is a mistake to think you can solve any major problems just with potatoes.

catchawave

Guys,

Max execution time - 20
memory limit - 20m

these are the only entries I can find

are some of them wrong

catchawave

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