Jump to content


Photo

Page was working on local system but won't work on the net


  • Please log in to reply
5 replies to this topic

#1 kenwvs

kenwvs
  • Members
  • PipPipPip
  • Advanced Member
  • 194 posts

Posted 20 August 2006 - 07:15 PM

I have been working on a page that I finally got to work properly on my local apache server and then when I uploaded it to my internet provider (server) it won't work.  I have my errors all turned on, and am not getting any errors, just a couple of notices.  Is there a big difference between what php version my apache uses, and what the server provider would use, that I would have problems with pages not working at all?

I had been struggling getting my isset() set up to work properly, and finally got it, and now it won't work on the actual web.... I am getting the same error I was getting locally earlier....

I know this is vague, but not sure how to explain it any better........any ideas what my next step should be, seeing as I am not getting any errors?

ADD ON COMMENT

My local apache is running PHP 5.1.4 and MySQL 5.0.22 - Community -nt
and my service provider is running PHP 4.4.2 and MySQL 4.1.19-Standard

not sure if this will make a difference.  If it does, is it possible to use on the local system the same versions as what my service provider uses?

Ken

#2 448191

448191
  • Staff Alumni
  • Advanced Member
  • 3,545 posts
  • LocationNetherlands

Posted 20 August 2006 - 07:23 PM

What, is your code a state secret? Your notices copyright protected?

How the hell are we supposed to know what you're talking about?  ???

#3 448191

448191
  • Staff Alumni
  • Advanced Member
  • 3,545 posts
  • LocationNetherlands

Posted 20 August 2006 - 07:24 PM

Ah, I see, your trying to run php5 scripts on a php4 server. That no worky.

Either move to a php5 host or downgrade your testing server to php4.

#4 kenwvs

kenwvs
  • Members
  • PipPipPip
  • Advanced Member
  • 194 posts

Posted 20 August 2006 - 07:27 PM

Codes are no secret, just didn't know if they would make a difference since it worked on the local system and then not on the internet itself.

I will post the code in a separate message.

I just got your message about php 5 and php4 while typing this.  Is there a way to only run php4 on my local system then?

Ken

#5 448191

448191
  • Staff Alumni
  • Advanced Member
  • 3,545 posts
  • LocationNetherlands

Posted 20 August 2006 - 07:30 PM

Codes are no secret, just didn't know if they would make a difference since it worked on the local system and then not on the internet itself.

I will post the code in a separate message.

I just got your message about php 5 and php4 while typing this.  Is there a way to only run php4 on my local system then?

Ken


Sure, just remove php, download the latest php4 and install that. It's not very difficult. You'll manage.

Just know that you might not be able to use some of the functions (not many, unless you're using OOP) you used before. So you'll probably get some errors wich you'll need to fix.

#6 kenwvs

kenwvs
  • Members
  • PipPipPip
  • Advanced Member
  • 194 posts

Posted 20 August 2006 - 07:32 PM

Thanks for the help.

Ken




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users