PDA

View Full Version : error message upon posting


csinclair
09-27-2006, 02:29 AM
anyone got any ideas on why my posts aren't working, at http://www.chrisphoto.com ? i just reuploaded the latest comment_template.html for the 1.5 issued simple template, and get an error message?
thanks for any advise. i know little of php.
~chris.

GeoS
09-27-2006, 09:27 AM
Its working right now.

PS Nice shots ;)

csinclair
09-27-2006, 01:59 PM
anyone else? i've tried on a hotel wireless system, and at work. I get this:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator,
support@supportwebsite.com and inform
them of the time the error occurred, and anything you might
have done that may have caused the error.

More information about this error may be available in the server error log.

Apache/1.3.33 Server at www.chrisphoto.com Port 80

but it doesn't seem to be an internal error. could it be that ports aren't allowing all information in/out?
thanks again.

Connie
09-27-2006, 04:03 PM
this error is the typical error when there is a typo in a PHP script
it has nothing to do with any ports etc.

check the code, a ";" is missing, or some apostrophes etc...

the typical errors in PHP

GeoS
09-27-2006, 05:25 PM
Still its working. 500 is internal error caused by wrong .htaccess and so on.

csinclair
10-02-2006, 05:18 AM
i'm still getting the error message GeoS. I've tried changing the relative link to absolute for my index.php?x=save_comment command, but that didn't work. Here's what I've got...

<div id="addcomment">
<form method='post' action='index.php?x=save_comment' name='commentform' accept-charset='UTF-8'>
<textarea name='message' rows='2' cols='40' onfocus="clearBox(this);">Type your comment here.</textarea><br /><br />
<input type='text' name='name' class='input' value='<VINFO_NAME>' id="name"/>&nbsp;&nbsp;&nbsp; <label for="name">Name</label><br /><br />
<input type='text' name='url' class='input' value='<VINFO_URL>' id="url"/>&nbsp;&nbsp;&nbsp; <label for="url">Website URL, if any</label><br /><br />
<input class='input' type='text' name='email' value='<VINFO_EMAIL>' id="email"/>&nbsp;&nbsp;&nbsp; <label for="email">Email (not visible to others)</label><br /><br />

<input name='vcookie' type='checkbox' id="saveinfo" value='set' checked="checked" />
<label for="saveinfo">Save User Info</label><br /><br />
&nbsp;&nbsp;<input type='submit' value='Add' class="comment-button"/>
<input type='hidden' name='parent_id' value='<IMAGE_ID>' />
<input type='hidden' name='parent_name' value='<IMAGE_NAME>' />
</form>
</div>

would a possible php code error be in a diff document than my comment_template.html file?
thanks for the continued help...
~chris.

Connie
10-02-2006, 05:48 AM
Chris,

in your templates is no php
and the code of the program is ok because it works a thousand times already

FIRST STEP: test with other templates!!!! This is a very strange behaviour: when people see one error but do not test if the error occures with other templates as well....

do the following: deactivate all Addons (start with the newest)
upload a photo
if not ok, it's one of the files of PP which must have been edited by you or which were not uploaded correctly

in that case upload all program files (same version as your active installation) in ASCII mode in your FTP-program!

if ok, activate one Addon in admin/addon-section
upload an image
if not ok, re-upload that addon
if ok activate the next

and so on

there is an error either in one file or in your configuration as we wrote already