Re: errors while uploading my php site ...... ! ! ! !
| From: | Luis Ferro | Date: | Wed, 14 Aug 2002 10:21:37 +0000 |
| Subject: | Re: errors while uploading my php site ...... ! ! ! ! | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-15248@lists.php.net to get a copy of this message | ||
When performing the last stage of development (placing the code from the development server [my machine in my case] to the production server [a test directory in the hosting server]) carefull must be taken regarding the following:
a) Versions of PHP and MySQL
I'd to retrofit a site, replacing all the new arrays with the older ones. In the production server, PHP was 4.06 which doesn't support $_SERVER[] and the like
b) Configuration details
Make a test page which displays phpinfo() so you can check how diferent the configuration is
c) current errors
In your case, it seams that you are doing some output prior to setting the sessions.
As it is working in your machine i would infer either a diferent version of PHP or an output buffer (don't remember exact item) turned on in your machine but off in the production machine.
Cheers, and hopping to have been of help...
Luis Ferro
TelaDigital
toby z wrote:
hi guys this is a weired problem ..... my site s almost done and workin fine on my machine ive just uploaded it and it AINT worin on the host i confirmed php and mysql support ve made all the tables and everything the errors im getting are : Warning: Cannot send session cookie - headers already sent by (output started at /home/zabannet/public_html/styl.php:25) in /home/zabannet/public_html/lgn3.php on line 87 Warning: Cannot send session cache limiter - headers already sent (output started at /home/zabannet/public_html/styl.php:25) in /home/zabannet/public_html/lgn3.php on line 87 Warning: Cannot add header information - headers already sent by (output started at /home/zabannet/public_html/styl.php:25) in /home/zabannet/public_html/lgn3.php on line 99 i cnt imagine WHY im gettin these errors on the net and whyNOT from my system ..... id really appriciate any help with this muckup thnx a MILLION ..... toby ...... __________________________________________________ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com