Jump to content

Recommended Posts

Hi all,

Not really sure if this is a PHP or MySQL problem.  I uploaded all of my php files to a server that I'm trying to use.  I have a form and when It is submitted it suposed to first validate and then after that write to a databse.  When I submit it it doesn't do anything.  I've tested these files on my local computer and I know that these files do work, but when I try it on this server, nothing.  I do have some fuctions to build drop down list and they work.  All of my include files seem to work.  When the form is submitted, no errors come up.  It's like it totaly ignoring all of the code.  I am at a loss to why this is happening.  I've even echo some text in that file and it seems to work ok so I'm pretty sure that PHP is working on the server.  Does anybody have any idea on what could be happening?
Link to comment
https://forums.phpfreaks.com/topic/23501-problems-getting-php-to-work/
Share on other sites

Hi

Not really sure what it could be, but try editting your php.ini file and turn on error reporting to see if it says anything.

find the line

[code]error_reporting  =  "dont know what value this would be"[/code]

and chane it to
[code]
error_reporting  =  E_ALL[/code]

and maybe also just below it

[code]display_errors = On[/code]

Also, are you running the same versions of php on both machines?

cheers,
tdw
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.