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

Author Topic: Connection Errors and Internal Server Errors.  (Read 9833 times)

0 Members and 1 Guest are viewing this topic.

just_some_guy

  • Supporter
  • Coppermine addict
  • ****
  • Offline Offline
  • Posts: 539
  • I am currently on holiday, back in a few weeks. :D
Connection Errors and Internal Server Errors.
« on: September 22, 2007, 12:22:05 am »

Hey,

I have been using coppermine for about 3 months now and every thing has been going smoothly. But reacently i have noticed that i get the odd Internal Server Error. I just need to wait about 10 secs and refresh the page. And sometimes i get a "mysql connection error cannot locate host ****.*******.net"

Can you see anything wrong, or resource intensive?

The site is www.mysimtractor.com

login:

username - test
password - test123

Thanks!
« Last Edit: October 01, 2007, 08:04:03 am by GauGau »
Logged
Tambien, Hablo Espaņol      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: Connection Errors and Internal Server Errors.
« Reply #1 on: September 22, 2007, 12:01:27 pm »

There are way too many details on your index page, both in terms of resources as well as in terms of confusion for the visitor. I suggest turning off "Show first level album thumbnails in categories".

And sometimes i get a "mysql connection error cannot locate host ****.*******.net"
Ask your webhost for support on this issue.
Logged

just_some_guy

  • Supporter
  • Coppermine addict
  • ****
  • Offline Offline
  • Posts: 539
  • I am currently on holiday, back in a few weeks. :D
Re: Connection Errors and Internal Server Errors.
« Reply #2 on: September 22, 2007, 02:16:53 pm »

Okay thanks very much, i will do that.
Logged
Tambien, Hablo Espaņol      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums

just_some_guy

  • Supporter
  • Coppermine addict
  • ****
  • Offline Offline
  • Posts: 539
  • I am currently on holiday, back in a few weeks. :D
Re: Connection Errors and Internal Server Errors.
« Reply #3 on: September 24, 2007, 07:27:22 pm »

Hmm the problem is still occuring... Can you see a problem?

Thanks,
Logged
Tambien, Hablo Espaņol      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums

Nibbler

  • Guest
Re: Connection Errors and Internal Server Errors.
« Reply #4 on: September 24, 2007, 08:03:31 pm »

What did your webhost say?
Logged

just_some_guy

  • Supporter
  • Coppermine addict
  • ****
  • Offline Offline
  • Posts: 539
  • I am currently on holiday, back in a few weeks. :D
Re: Connection Errors and Internal Server Errors.
« Reply #5 on: September 24, 2007, 10:00:14 pm »

This is a quote from the hosts website:

Quote
External/Third party software
Unfortunately we do not allow external server software/applications to be installed onto our shared servers.

This is due to both security and performance issues. Web based applications can be installed such as phpBB, Joomla,oscommerce etc, but unfortunately our support team are unable to provide support for the installation or maintenance of these applications.

They cannot help with maintenance with problems realting to third-pary web based software. I was hoping you guys could help me.

Thanks!
Logged
Tambien, Hablo Espaņol      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: Connection Errors and Internal Server Errors.
« Reply #6 on: September 25, 2007, 08:36:25 am »

If they don't allow third party software on their servers at all, you should look for a new webhost. But my guess is that they refer to something else in this case: they won't allow you to install stuff on webserver-level (e.g. something like ImageMagick), but they probably allow you to run pre-made scripts on your webspace (because that's what coppermine actually is). Of course they will not support you with setup problems caused by coppermine, that is understandable. However, the mysql error message you see just shines through in coppermine: it's actually an error message that your webhost is responsible for: coppermine just calls the address of the mysql server you set up in coppermine's config. If the webserver is unable to resolve the address of the mysql database, the result will be an error message similar to the one you got. Bottom line: this is something that your webhost has to take care off. If they are reluctant to do so, refer to this thread. It's something in their webserver setup if the lookup for the database fails. So don't just look at some FAQ pages of your webhost, but file a support ticket. It's vital that you stress that you're not asking them to fix coppermine issues for you, but that they need to look into things that are directly related to their webserver setup.
Logged

just_some_guy

  • Supporter
  • Coppermine addict
  • ****
  • Offline Offline
  • Posts: 539
  • I am currently on holiday, back in a few weeks. :D
Re: Connection Errors and Internal Server Errors.
« Reply #7 on: September 25, 2007, 07:03:24 pm »

Ok, thanks for making it more clear, i have subbmited a support ticket and will get a responce within 24hrs.
Logged
Tambien, Hablo Espaņol      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums

just_some_guy

  • Supporter
  • Coppermine addict
  • ****
  • Offline Offline
  • Posts: 539
  • I am currently on holiday, back in a few weeks. :D
Re: Connection Errors and Internal Server Errors.
« Reply #8 on: September 25, 2007, 11:39:51 pm »

They would like to see the file(s) that cause the errors and the links to the error messages.

What would the files be?, i think it happens when viewing the index page and maybe images.

Where can i find the error message coppermine outputs when it cant connect?

Thanks,
Logged
Tambien, Hablo Espaņol      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: Connection Errors and Internal Server Errors.
« Reply #9 on: September 26, 2007, 08:05:15 am »

The mysql access data are being stored in include/config.inc.php. The actual queries are being run in include/init.inc.php and include/functions.inc.php
If queries fail, Coppermine just echoes the message it got from mysql. Subsequently, if coppermine displays
Quote
mysql connection error cannot locate host ****.*******.net
, this error message actually comes from mysql and just shines through coppermine. Tell your webhost to review this thread - they should get all information they need.
Logged

just_some_guy

  • Supporter
  • Coppermine addict
  • ****
  • Offline Offline
  • Posts: 539
  • I am currently on holiday, back in a few weeks. :D
Re: Connection Errors and Internal Server Errors.
« Reply #10 on: September 26, 2007, 06:07:18 pm »

I sent them a reply showing them which files to look at, and i also mentioned they should view this thread.
Logged
Tambien, Hablo Espaņol      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums

just_some_guy

  • Supporter
  • Coppermine addict
  • ****
  • Offline Offline
  • Posts: 539
  • I am currently on holiday, back in a few weeks. :D
Re: Connection Errors and Internal Server Errors.
« Reply #11 on: September 26, 2007, 08:53:28 pm »

I got a reply from my host and they said they were not aware of a problem with my server and they will monitor the situation.

Thanks for the help GauGau,
Logged
Tambien, Hablo Espaņol      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums

just_some_guy

  • Supporter
  • Coppermine addict
  • ****
  • Offline Offline
  • Posts: 539
  • I am currently on holiday, back in a few weeks. :D
Re: Connection Errors and Internal Server Errors.
« Reply #12 on: September 27, 2007, 10:13:11 pm »

I caught it in action, when i was editing a pictures file information and selected save this happened: see attached picture.

Coppermine critical error:
Unable to connect to database !

MySQL said: Unknown MySQL server host 'mysql11.streamline.net' (2)
Logged
Tambien, Hablo Espaņol      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: Connection Errors and Internal Server Errors.
« Reply #13 on: September 28, 2007, 06:45:52 am »

As suggested: report the error message to your webhost.
Logged

just_some_guy

  • Supporter
  • Coppermine addict
  • ****
  • Offline Offline
  • Posts: 539
  • I am currently on holiday, back in a few weeks. :D
Re: Connection Errors and Internal Server Errors.
« Reply #14 on: September 28, 2007, 08:27:49 am »

Just got a "Critical error - error whilst proccessing a database query", on a similar screen to the above image. Will this be realted to the problem? what is that error in mysql, when it does not shine-through cpg?
Logged
Tambien, Hablo Espaņol      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums

Nibbler

  • Guest
Logged

just_some_guy

  • Supporter
  • Coppermine addict
  • ****
  • Offline Offline
  • Posts: 539
  • I am currently on holiday, back in a few weeks. :D
Re: Connection Errors and Internal Server Errors.
« Reply #16 on: September 28, 2007, 03:48:01 pm »

The host would like to know the "mysql setting" what is the setting for cpg?

Thanks,
Logged
Tambien, Hablo Espaņol      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums

Nibbler

  • Guest
Re: Connection Errors and Internal Server Errors.
« Reply #17 on: September 28, 2007, 04:04:14 pm »

The phrase "mysql setting" is meaningless.
Logged

just_some_guy

  • Supporter
  • Coppermine addict
  • ****
  • Offline Offline
  • Posts: 539
  • I am currently on holiday, back in a few weeks. :D
Re: Connection Errors and Internal Server Errors.
« Reply #18 on: September 28, 2007, 04:05:39 pm »

This is what the host said: "Can you please confirm the mysql setting so we can test this for you."

do you want to see the debug?
Logged
Tambien, Hablo Espaņol      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums

just_some_guy

  • Supporter
  • Coppermine addict
  • ****
  • Offline Offline
  • Posts: 539
  • I am currently on holiday, back in a few weeks. :D
Re: Connection Errors and Internal Server Errors.
« Reply #19 on: September 28, 2007, 09:05:58 pm »

The host said that they have tested the access to the database and have found no issues. So its not a problem with the database or the webserver...strange...
Logged
Tambien, Hablo Espaņol      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums
Pages: [1] 2   Go Up
 

Page created in 0.026 seconds with 19 queries.