PDA

View Full Version : Can't post comments.. getting a 404 Not Found


kitkit201
06-22-2006, 11:57 PM
HI folks,

Now I have a problem trying to post comments on my website.. and gettin a 404 error..


Not Found
The requested URL /index.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

I found in index.php where it was crashing at..


// if the x=foo does not exist prompt it! don't show the main page anymore!

if (isset($_GET['x'])&& $_GET['x']!='atom' && $_GET['x']!='rss' && $_GET['x']!='save_comment' ){ // if (isset($_GET['x']) and !file_exists( "templates/".$cfgrow['template']."/".$_GET['x']."_template.html" ))
header("HTTP/1.0 404 Not Found");
header("Status: 404 File Not Found!");
// header("Location: index.php");
echo "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\"><HTML><HEAD>\n<TITLE>404 Not Found</TITLE>\n</HEAD><BODY>\n<H1>Not Found</H1>\nThe requested URL /index.php was not found on this server.<P>\n<P>Additionally, a 404 Not Found\nerror was encountered while trying to use an ErrorDocument to handle the request MOOOJO!.\n</BODY></HTML>";
exit;
}

Can anyone lend a clue as to what I am doing wrong? It was working before, but maybe I done something to screw it up...

Thanks

My information


URL http://photokit.net/admin/index.php

PHP-version 4.4.2 (Pixelpost's min requirement: PHP version: 4.3.0 )

MySQL version 4.0.27-standard-log (Pixelpost's min requirement: MySQL: 3.23.58 )

GD-lib 2.0 or higher with JPEG support

File Uploads to pixelpost site are possible.

Server Software Apache/1.3.33 (Unix)

EXIF Pixelpost is using exifer v1.5 for EXIF-information.

Paths
Guessed imagepath: /kunden/homepages/25/d89988105/htdocs/pixelpost/pixelpost1-5rc1-2/images/

Configured Imagepath: /kunden/homepages/25/d89988105/htdocs/pixelpost/pixelpost1-5rc1-2/images/

Image Directory: OK - Can we write to the directory? YES. CHMOD: 0755

Thumbnails Directory: OK - Can we write to the directory? YES. CHMOD: 0755

Language Directory: OK

Addons Directory: OK

Includes Directory: OK

Templates Directory: OK

kitkit201
06-23-2006, 05:46 PM
anyone can help?


Figured out my problem.. it was some kind of spam settiong that was screwy..

GeoS
06-24-2006, 10:48 AM
You can post comments but after adding it you redirect user to some strange URL, i.e. after my comment I went to (and I dont know why):
http://www.photokit.net/index.php?x=d6b9f97ba9UGhvdG8qa2l0Lm5ldA==458

The x variable looks strange!!

cmckibbin
12-10-2006, 10:53 PM
Is there a solution to this? I have the exact same issue using 1.5.
URL http://www.projekt1design.com/photolog/admin/index.php

PHP-version 4.4.3 (Pixelpost's min requirement: PHP version: 4.3.0 )

Session save path /tmp

MySQL version 4.0.27-standard (Pixelpost's min requirement: MySQL: 3.23.58 )

GD-lib bundled (2.0.28 compatible) with JPEG support

File Uploads to Pixelpost site are possible.

Server Software Apache/1.3.37 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.4.3 FrontPage/5.0.2.2635.SR1.2 mod_ssl/2.8.28 OpenSSL/0.9.7a

EXIF Pixelpost is using exifer v1.5 for EXIF-information.

Paths
Guessed imagepath: /home/projekt1/public_html/photolog/images/

Configured Imagepath: ../images/

Image Directory: OK - Can we write to the directory? YES. CHMOD: 0777

Thumbnails Directory: OK - Can we write to the directory? YES. CHMOD: 0777

Language Directory: OK

Addons Directory: OK

Includes Directory: OK

Templates Directory: OK

batts_
12-10-2006, 11:48 PM
same here =/ blah

maybe it has something to do with the anti-spam addon?

GeoS
12-11-2006, 04:21 PM
IMHO its server issue as I cant test your admin panel!

batts_
12-11-2006, 05:44 PM
my admin panel is working fine..everything on the site is, its JUST the comments :O

GeoS
12-11-2006, 08:21 PM
With comments - there are few rules with 404 which are to fight with spam.

batts_
12-13-2006, 03:31 PM
im still totally clueless as to how i or chris or kit can fix this..

GeoS
12-13-2006, 09:23 PM
Conditions for 404:
1) when called is blog address with ?x=referer at the query string
2) when ?x= is other then atom,rss or save_comment
3) when ?showimage= doesnt contain number

and there is no other condition for getting back error 404 from Pixelpost. Other case can be related with servers error 404.

cmckibbin
12-15-2006, 12:58 AM
Thanks for the replies...
Is there something specific I can ask my host about to fix this? Anyone else hosting their pixelpost photoblog on HostPapa.ca? I see no reason for the server to by the culprit myself as it meets all the requirements to run the software.