PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro Installation & Upgrades (http://www.photopost.com/forum/photopost-pro-installation-upgrades/)
-   -   500 internal server error when registering new users (http://www.photopost.com/forum/photopost-pro-installation-upgrades/138137-500-internal-server-error-when-registering-new-users.html)

hundeweb October 12th, 2008 12:36 PM

500 internal server error when registering new users
 
Just finished setting up my new photopost site, done some translating into norwegian and was working on the registering page. Here i encountered a problem.

After filling out the form and submitting it, i get a 500 internal server error.
Quote:

The server encountered an internal error or misconfiguration and was unable to complete your request.
Hit refresh and site says username and email is allready registered, true but no email has been sent. However the new user can log in, but i have to manually change the user to registered.

So far it looks like everything ellse is working as it should.

My web host does not provide error logs, so im a bit lost here.
Need more info? Please let me know.

Regards
Christian

WEBDosser October 12th, 2008 12:41 PM

url to your site would help..

Quote:

The 500 Internal Server Error is a very general HTTP status code that means something has gone wrong on the web site's server but the server could not be more specific on what the exact problem is.
you will need to see the error logs though.. i sugest you move host and i can host you.

hope you dont mind the plug.

Chuck S October 12th, 2008 01:00 PM

I would suggest if you where editing files make sure to replace them with files we release and see if you can reproduce the problem with our files because I am not seeing any issues registered a user in our default code maybe something wrong with your edits?

hundeweb October 12th, 2008 01:02 PM

Ofc. the url is: Hundeweb.no fotoalbum - Main Index

hundeweb October 12th, 2008 01:05 PM

Quote:

Originally Posted by Chuck S (Post 1234007)
I would suggest if you where editing files make sure to replace them with files we release and see if you can reproduce the problem with our files because I am not seeing any issues registered a user in our default code maybe something wrong with your edits?

Will try to remove the norwegian.php language file, and go back to english language file.

Regards
Christian

Chuck S October 12th, 2008 01:09 PM

Make sure to also reupload all the core php files not the config files through as well and any other files you might have edited.

hundeweb October 12th, 2008 01:11 PM

Quote:

Originally Posted by hundeweb (Post 1234010)
Will try to remove the norwegian.php language file, and go back to english language file.

Regards
Christian

Still the same result after removing language file, and reverting to default.
I will try to do a clean install on main domain, and not subdomain and see if that helps. If not i will just have to try to set it up at a server at work, to see if i encounter the same problems there.

Regards
Christian

Chuck S October 12th, 2008 01:20 PM

Christian check out your server logs on that server or have your host do this and give us some feedback on what the server is choking on as noted by webdosser thats a real generic error from the server and hard to diagnose without more info.

hundeweb October 12th, 2008 01:26 PM

Quote:

Originally Posted by Chuck S (Post 1234015)
Christian check out your server logs on that server or have your host do this and give us some feedback on what the server is choking on as noted by webdosser thats a real generic error from the server and hard to diagnose without more info.

The only message i got from them. is that they only got one error file and thousands of sites, bla bla bla. Il give it one more try here, if still problems i will move the photopost site to a server of my own. A bit lesser bandwith, but a lot of more space. :)

Regards
Christian

Chuck S October 12th, 2008 01:36 PM

got ya let me know.

hundeweb October 12th, 2008 01:48 PM

Well... Did a full reinstall of the photopost. Unpacked from zip, cleared db and folders on server. Uploaded all files, did the install. So now its all default, still same result when trying to register new user.

Did however see something funny when i ssh`d to the server, got a bunch of mail saying:
Quote:

A message that you sent contained no recipient addresses, and therefore no
delivery could be attempted.
It looks like this is sent everytime i try to register a user, dont know if this is helpfull but...

Will try to do some more detective work here before i move to other server.

Regards
Christian

hundeweb October 12th, 2008 01:52 PM

Quote:

Originally Posted by hundeweb (Post 1234020)
Well... Did a full reinstall of the photopost. Unpacked from zip, cleared db and folders on server. Uploaded all files, did the install. So now its all default, still same result when trying to register new user.

Did however see something funny when i ssh`d to the server, got a bunch of mail saying:


It looks like this is sent everytime i try to register a user, dont know if this is helpfull but...

Will try to do some more detective work here before i move to other server.

Regards
Christian

Hmmm looks like there is an issue with the mail settings, when i turned off the verifications by email, it worked.

Regards
Christian

WEBDosser October 12th, 2008 02:00 PM

and that is a sendmail problem i do believe which is only editable inside the server root access.. cpanel tweek setting?.

Chuck S October 12th, 2008 02:00 PM

Maybe your server disables the mail statement in PHP.

hundeweb October 12th, 2008 02:07 PM

Quote:

Originally Posted by Chuck S (Post 1234023)
Maybe your server disables the mail statement in PHP.

Hmm using phpbb forum on same server with no problem on the mailsending, and i have no problem sending mail from the "edit users" section in admin panel of the photopost.

Regards
Christian

hundeweb October 12th, 2008 02:12 PM

Allso found some more info here, dont know if its helpfull but here it is. :)
Server is using suphp with register_globals=Off

Dont know if this has something to do with this problem, cause it does not seem to affect anything ellse. I have not yet tested to upload anything yet.

Will try that now...

Regards
Christian

hundeweb October 12th, 2008 02:17 PM

Quote:

Originally Posted by hundeweb (Post 1234025)
Allso found some more info here, dont know if its helpfull but here it is. :)
Server is using suphp with register_globals=Off

Dont know if this has something to do with this problem, cause it does not seem to affect anything ellse. I have not yet tested to upload anything yet.

Will try that now...

Regards
Christian

Uploaded the image without any problems, so it seems like the only problem is that i cant use the verification by email. And that kinda su..s :eek:

Regards
Christian

Chuck S October 12th, 2008 02:37 PM

register globals off is how you want things

hundeweb October 12th, 2008 06:01 PM

Still cant get this problem to go away, all i get is this:
Quote:

A message that you sent contained no recipient addresses, and therefore no
delivery could be attempted.

------ This is a copy of your message, including all the headers. ------

Message-Id: <E1Kp9U0-0002mL-M8@luxor.domeneshop.no>
From: hundeweb <hundeweb@luxor.domeneshop.no>
Date: Mon, 13 Oct 2008 00:32:16 +0200
I have tried to go thru some of the scripts, trying to find out where it get the recipient from and where it puts it. Im not that experienced with php and thats maybe why i cant find it. I would have tought that this was the codesnip to look for:
Code:

Content visible to verified customers only.
And i would guess that this:
Code:

Content visible to verified customers only.
is the recipient addresses, but i cant see where it get its value from. But then again as i said, im no php expert. :confused:

Im hoping to figure this out, cause i dont like the tought of running the site with no verifications...

Regards
Christian
Getting late here in norway... :(

Chuck S October 12th, 2008 06:16 PM

is defined right in the script it is the one the user signs up with and the one we store in the users table email field.


All times are GMT -5. The time now is 05:33 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97