PHP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingPHP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
  #1  
Old September 15th, 2004, 07:10 PM
andrewc andrewc is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 4 andrewc User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question Help Please!Includes wont work with my PHP script....BLANK PAGE!

Hi there...

Im fairly new to PHP so bear with me for a minute please folks!

OK...Im running Windows XP with PHP 4.8.3 ( I think correct version?/latest one except 5),
PHPmyAdmin, MySQL, Apache II (all installed via "devstudio.net web server suite")
All works A1 on my machine (testmachine=localhost)....phpinfo works fine, some
php scripts work ok, PHP admin fine, I can create and administer databases ok etc
BUT

I have a good PHP auction script I am trying to install and When I pull up a php page
that has includes in it (eg/ the main admin front end of the script! after the install...
which is incidentally in the includes folder with all the other vital stuff), the entire page
returns blank in Internet Explorer. Even the source code is blank when I select to
view the pages source!


-- I've tried it with globals turned off and on.(altho the script install says they need to be on)
-- Error reporting is turned on. I get no errors shown in the browser

-- I have changed the include_path in php.ini multiple times to try and solve the problem to no avail.

Currently the path is set to

include_path= ".;C:\www\webroot\php_auctionXL\includes;C:\www\web root\Ematch\includes"



which is the correct path to the install folder.....

I have tried it with the first path only, different paths etc etc.....!!!Multiple apache restarts.....



Can anyone please help me out here with what may be the problem..The script should run
ok on windows and I have run a compatibility script that flags up my includes path as being
a problem but I have tried almost anything and am getting deperate!!!
Any help greatfully received

Thanks

Reply With Quote
  #2  
Old September 15th, 2004, 09:04 PM
MadCowDzz's Avatar
MadCowDzz MadCowDzz is offline
I'm Internet Famous
Dev Articles Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2003
Location: Toronto, Canada
Posts: 2,890 MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Week 16 h 4 m 48 sec
Reputation Power: 8
have you tried the include function in its simplist form?

for example, make one file that reads "echo 'hello';"... save that as hello.php
then in test.php, write include("hello.php");

reason being, there might be a bigger problem...

Reply With Quote
  #3  
Old September 16th, 2004, 04:26 AM
andrewc andrewc is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 4 andrewc User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Quote:
Originally Posted by MadCowDzz
have you tried the include function in its simplist form?

for example, make one file that reads "echo 'hello';"... save that as hello.php
then in test.php, write include("hello.php");

reason being, there might be a bigger problem...

Thanks for that MadCowDzz...I will try that when I get back later on today..
I take it if that doesn't work then includes is not working as a whole!..
Can there be more reasons for this than just the includes path??...as I am sure this
is ok??

Anyway, will post back tonite when I have tried this..
Thanks again

Reply With Quote
  #4  
Old September 20th, 2004, 11:16 AM
MadCowDzz's Avatar
MadCowDzz MadCowDzz is offline
I'm Internet Famous
Dev Articles Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2003
Location: Toronto, Canada
Posts: 2,890 MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Week 16 h 4 m 48 sec
Reputation Power: 8
Were you able to try this?

I'm just wondering if it worked, or if there is a bigger issue...

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingPHP Development > Help Please!Includes wont work with my PHP script....BLANK PAGE!


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 2 hosted by Hostway