Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PHP Migration 2

Status
Not open for further replies.

andy98

Programmer
Jul 7, 2000
120
GB
Can anyone help?

I have a running PHP application on an apache web server online.

I have a laptop running mysql 4 and PHP 4.3.9 on Windows XP.

I have exported from my online application via an SQL file and imported into my laptop with all the identical PHP files for my application.

However, I can run several pages but i am getting errors about Undefined Variables: when I don't get these errors in my online application.

Does anyone know why I would be getting these offline when I don't get them online?





 
yes, the reason is the option when you installed php,you must have put one of the debugging options on, i had that when i first installed php, but i reinstalled it with show warnings only, not notices!

Hope this helps!


Regards,

Martin

Gaming Help And Info:
 
The error reporting level of the two PHP installations is different. Inspect the php.ini on the originating system and the receiving system and plug in the originally set error reporting level.
Open the php.ini and search for error_reporting
Nota bene: after the change don't forget to restart the Apache server.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top