RE: [PHP] server problems.
A wild guess: Are you using a database abstraction class or configuration file? Is it still pointing to the live server database instead of the production server database? Rich -Original Message- From: Steve Jackson [mailto:[EMAIL PROTECTED]] Sent: 10 December 2002 12:34 To: PHP General Subject: [PHP] server problems. I have a production server and a 'live' web server. The set-ups are the same and yet I can view code fine on the 'live' web site but not on the production server. At least I can view one shopping cart section online but not offline. All the other database driven stuff appears fine. I've even tried dumping the 'live' database onto my production server and deleting and re-installing the code. No effect. Any ideas? The shop section even worked offline until I added a new category now it simply doesn't show anything. Flummoxed because on the live server everything works hunky dory. Also the shop admin functions are password protected - now when I try to login to that it refuses to let me in, even though the same password and login functions are ok on the live server. I tried adding a new user - no effect. It's like it just refuses to read this part of my database, but everything else will work OK. Any ideas? Steve Jackson Web Developer Viola Systems Ltd. http://www.violasystems.com [EMAIL PROTECTED] Mobile +358 50 343 5159 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] server problems
And what are the directory/file permissions where you are writing the archive files? - Original Message - From: "1LT John W. Holmes" <[EMAIL PROTECTED]> To: "Kris Vose" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, June 18, 2002 11:54 AM Subject: Re: [PHP] server problems > Are you sure display_errors is turned ON in php.ini on the new server? Do > the two servers have different settings for register_globals in php.ini? > > ---John Holmes... > > - Original Message - > From: "Kris Vose" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, June 18, 2002 11:12 AM > Subject: [PHP] server problems > > > I just uploaded a php driven web site that use text files to archive data to > a unix server. When I went to try and add another archive the script fails > without a warning. It does not store the data in the text file and it does > not add another archive. I wrote this application about 4 months ago when I > was just learning php and I have found since then that mysql is the best way > to store data! duh... Anyway I was wondering if my permissions are screwed > up on the unix server, or if there is something that I am overlooking here! > I do not really want to rewrite the code! I spoke with the administrator of > the server and he has no idea. They are using PHP 4.0.2B and we are using > PHP 4.1.2 Anyway...thanks in advance. > > Kris > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] server problems
Are you sure display_errors is turned ON in php.ini on the new server? Do the two servers have different settings for register_globals in php.ini? ---John Holmes... - Original Message - From: "Kris Vose" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 18, 2002 11:12 AM Subject: [PHP] server problems I just uploaded a php driven web site that use text files to archive data to a unix server. When I went to try and add another archive the script fails without a warning. It does not store the data in the text file and it does not add another archive. I wrote this application about 4 months ago when I was just learning php and I have found since then that mysql is the best way to store data! duh... Anyway I was wondering if my permissions are screwed up on the unix server, or if there is something that I am overlooking here! I do not really want to rewrite the code! I spoke with the administrator of the server and he has no idea. They are using PHP 4.0.2B and we are using PHP 4.1.2 Anyway...thanks in advance. Kris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php