On Saturday 07 August 2004 09:10 pm, you wrote:
> On Sat, 2004-08-07 at 17:55, Andre Dubuc wrote:
> > Hi,
> >
> > I have re-written a very basic website to use sessions (switching to
> > https) for login to special areas of a site. After testing the site
> > thoroughly locally, I uploaded the whole shebang to a unix server that
> > runs Apache 1.3.x + PHP 4.3.4 + mysql.
> >
> > Almost all code broke - sessions would load, but almost every page was so
> > messed up that -- well, I'm flabbergasted!
> >
> > I'm wondering, after reading a few threads on my local config whether the
> > problem might lie with the Apache2 server I use locally (Mandrake special
> > with Extranet). I also use an older version of PHP 4.3.1.
> >
> > I've examined both configs for differences, but can see nothing that
> > would account for such an extremely messed up site. It loads locally
> > beautifully (and all admin pages work) in Opera, Galeon, Mozilla, +
> > Konqueror. Loads with errors to mysql db in all others but Konqueror
> > which does not even display the opening page (yet I can view source).
> >
> > Maybe this isn't the forum to ask -- but seeing that all db access is
> > through PHP -- I wonder whether anyone can point where i can start
> > looking for the culprit(s).
> >
> > Any ideas, suggestions, or advice will be greatly appreciated.
> >
> > Tia,
> > Andre
>
> It's very doubtful that it's from Apache 2.
>
> Somethings that you might want to consider.
>
> Do you have all the libraries that you are using on your local
> development machine on the production machine? Are your includes paths
> pointed to the proper directories? Did you use <? instead of <?php (tsk
> tsk) ?
>
> Good luck. :-)
>
> -Robby

That's what I thought. But the differences are glaring. Seems like none of the 
code wants to work. Navigation is a nightmare: header("location:..."); 
usually brings an error message: function so and so -- include("xxx.php"); 
has already been declared -- cannot redeclare (yet locally - absolutely no 
problem!) ?? 

Oh, what a nightmare. I can handle parsing errors, and general messups -- but 
when the whole site works without a glitch locally . . . .

Also, mysql complains bitterly about a non-existent user (it's already an open 
and persistent connection, has given data previously -- go figure) -- it's 
unbelievable! And I have an existing site, developed using almost the same 
code + 340++ files working seamlessly.

The libraries appear to be the same, however, I did notice a reference to 
/usr/lib/pear. include paths point correctly, and I faithfully use <?php .... 
?>.

Sigh -- what a mess!

Andre

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to