Jump to content

the simplest thing in the world fails / LOL


cybernet

Recommended Posts

@mikosiko

i checked the first time as you said and was still the same error

 

somehow

echo $_SERVER['REQUEST_METHOD'];

outputs

Notice: Undefined index: REQUEST_METHOD in /home/postlist/x/view_post.php

 

i know for sure that i should get this answer :P

Link to comment
Share on other sites

For the $_SERVER and $_GET and probably all the rest of the server populated variables to be empty, there's something fundamentally wrong with your web server to php configuration. Either your configuration file path is not correct or there is some syntax error in the configuration file or you have a permission problem that is preventing the configuration file from being read or you have some incompatibility between the web server/php software.

 

Are there other php based web sites on the same server that do work? If so, investigate what is different between their configuration settings and the site that does not work.

Link to comment
Share on other sites

the other sites on my host works perfectly they have the same permision as the current site only the path is changed

 

the other different things is that this site i wrote it myself .. but the problem is that even as a single page ( without the rest of the site ) the script doesn't work :-\

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.