PHP Coding
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsPHP RelatedPHP Coding

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old August 5th, 2002, 06:24 AM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
Some PHP scripts are parsed... others aren't.

This one blew the top off the WTF-o-meter.

Just a few minutes ago, I got fed up with constant PHP script problems, even after turning off the error messages. Copy/pasting some of the more complex script examples from codewalkers.com let forth a never ending stream of parse errors and the like.

So, I download the latest version of Apache, rip *EVERYTHING* out, and reinstall it all. Apache, PHP, MySQL, and PERL.

I also noticed I missed a large chunk of the PHP installion - enabling all the extensions in the "extensions" directory! Ack!

Now, not only do the scripts that previously didn't work display the exact same errors, but my PHP forums have crapped out as well. Some scripts, like index.php for PHPBB appear to work perfectly, while the same script designed to use VBulletin doesn't execute at all, it just displays the contents of the PHP file as plain text.

I have absolutely no idea what I've forgotten to configure. This problem is driving me nuts.

Thanks in advance.

Reply With Quote
  #2  
Old August 5th, 2002, 11:27 AM
siteworkspro.com siteworkspro.com is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Sydney, Australia
Posts: 92 siteworkspro.com User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via ICQ to siteworkspro.com Send a message via AIM to siteworkspro.com
RE: Some PHP scripts are parsed... others aren't.

What i suggsest:
1. Get Totally Pissed/Drunk/Sloshed (what ever u call it)
2. Wait till you sober up
3. remove php and apache from your HD
4. slowly reinstall apache and php, this time thinking what your actually doing.

Works everytime

Reply With Quote
  #3  
Old August 5th, 2002, 02:14 PM
D1NGO D1NGO is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Perth, Australia
Posts: 221 D1NGO User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: Some PHP scripts are parsed... others aren't.

or for even more fun, try doing it while your pissed

Reply With Quote
  #4  
Old August 5th, 2002, 07:17 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: Some PHP scripts are parsed... others aren't.

Did that, went back to Apache 1. Now only select scripts work, some claim they don't exist, and others still aren't parsed.

Where's Matt? He could probably sort this out in seconds.

Reply With Quote
  #5  
Old August 5th, 2002, 07:44 PM
cjrobs cjrobs is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Southampton, England
Posts: 121 cjrobs User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via ICQ to cjrobs
RE: Some PHP scripts are parsed... others aren't.

Do all these scripts have the same extention?

Reply With Quote
  #6  
Old August 5th, 2002, 08:15 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: Some PHP scripts are parsed... others aren't.

Yes. Standard *.PHP.

How could the first installation work (more or less), and this one not?

Reply With Quote
  #7  
Old August 5th, 2002, 10:52 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: Some PHP scripts are parsed... others aren't.

Nevermind... I fixed it.

Ripped EVERYTHING out, installed in this order:

Apache
*Reboot*
PERL
*Reboot*
MySQL
*Reboot*
Install MySQL Service
*Reboot*
Install and configure PHP
*Reboot*

Reply With Quote
  #8  
Old August 5th, 2002, 11:12 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: Some PHP scripts are parsed... others aren't.

Why the hell you reboot? You running it on wind0ze or something?

Reply With Quote
  #9  
Old August 6th, 2002, 01:43 AM
siteworkspro.com siteworkspro.com is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Sydney, Australia
Posts: 92 siteworkspro.com User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via ICQ to siteworkspro.com Send a message via AIM to siteworkspro.com
RE: Some PHP scripts are parsed... others aren't.

We all gotta live Bill Gates! NOT

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP RelatedPHP Coding > Some PHP scripts are parsed... others aren't.


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway