473,509 Members | 2,528 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

PHP script is not running and leave a blank page

82 New Member
For some reason when I try to run any login PHP script that comes with the roscript login package (http://www.roscripts.com/PHP_login_script-143.html ) in any browser I got a blank page with nothing inside it. . When I run in the same directory any simple script like one that contians PHPINFO every thing goes great. I can access and see the login directory and all sub-directories, Can someone advice.

I belive I configured both php.ini and apache htppd.conf files. it seems to me like a permission problem, I fighting with it in the couple last days.

My working root directory is:"F:\Internet\RCExperts\Development\" and the login package is sit under F:\Internet\RCExperts\Development\src\login\"

Changes I done to the httpd.conf file:
-------------------------------------------------------

DocumentRoot "F:/Internet/RCExperts/Development"
# This should be changed to whatever you set DocumentRoot to.
#
#<Directory "E:/Program Files/Apache2.2/htdocs">
<Directory "F:/Internet/RCExperts/Development">
************************************************** *****************
# This should be changed to whatever you set DocumentRoot to.
#
#<Directory "E:/Program Files/Apache2.2/htdocs">
<Directory "F:/Internet/RCExperts/Development">
#
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs/2.2/mod/core.html#options
# for more information.
#
Options Indexes FollowSymLinks

#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
#
AllowOverride None
#
# Controls who can get stuff from this server.
#
Order deny,Allow
Allow from all

</Directory>
**********************************
ScriptAlias /php/ "E:/Program Files/PHP"
AddType application/x-httpd-php .php .php5
Action application/x-httpd-php "/php/php-cgi.exe"
SetEnv PHPRC "E:/Program Files/PHP"
************************************************** ***********

Changes I done to the php.ini file:
--------------------------------------------------

include_path = ".;E:\Program files\PHP\includes;F:\Internet\RCExperts\Developme nt\php\login\lib;F:\Internet\RCExperts\Development \php\login\lib\date_class;F:\Internet\RCExperts\De velopment\php\login\lib\phpmailer;F:\Internet\RCEx perts\Development\php\login\css;F:\Internet\RCExpe rts\Development\php\login\images"

********************

doc_root =".;F:\Internet\RCExperts\Development"

*******************

user_dir =".;F:\Internet\RCExperts\Development"

********************

------------------------------
My environment setting is:

Microsoft windows server 2003
1) PHP 5.2.5
2) Apache server 2.2



Can someone please help
Feb 18 '08 #1
1 2458
raknin
82 New Member
Ok thanks all, after debugging aIfound and fixed the problem.
Feb 18 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

10
6160
by: Larry Neylon | last post by:
Hi All, I want to perform the simple task of running an ASP script as a scheduled job. Previously I've always either run a .vbs script via windows Scheduler, or put some logic in my...
11
1811
by: Jonny | last post by:
Netscape 7.02 is giving me a headache with a downloaded snow script. Starting with a blank page, I inserted the script and checked it in IE 6 and Netscape 7.02. Everything worked and looked fine. A...
1
1923
by: Adam Atlas | last post by:
(Apache/2.0.55, PHP/4.4.1) I am using an "Action" directive in my Apache configuration to map a certain file type (by means of AddType and AddHandler) to a PHP script. I wasn't sure if this would...
17
34668
by: PJ | last post by:
Greetings... I have stumbled upon a small problem. I use Ajax to retrieve part of a page I need to update. I update a DIV element with the HTML contents I get from another page. It works...
5
1993
by: Bjorn Sagbakken | last post by:
Hello I have just migrated from VS 2003 to VS 2005, and .NET framework 1.1 to 2.0 I am at the end of debugging and fixing stuff. Now there is one error I just cannot find a solution to: On...
4
2268
by: raknin | last post by:
For some reason when I try to run any login PHP script that comes with the roscript login package (http://www.roscripts.com/PHP_login_script-143.html ) in any browser I got a blank page with nothing...
1
1504
by: fortwilliam | last post by:
I have a newsletter system and want to have it work automatically. what I have so far works with a visitor to a page with a tiny iframe in it. This iframe calls up the send.pl newsletter script....
22
3797
by: V S Rawat | last post by:
(bringing the discussion here for php.general) I am on xpsp3, wampserver 2.0, having apache 2.2.8, php 5.2.6, MySQL 5.0.51b. http://localhost/ is E:\wamp\www\ I have put the first php script...
1
47353
KevinADC
by: KevinADC | last post by:
Note: You may skip to the end of the article if all you want is the perl code. Introduction Many websites have a form or a link you can use to download a file. You click a form button or click...
0
7233
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7342
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7410
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7067
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5650
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4729
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3215
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3201
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1570
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.