[SOLVED] Need help for different webserver creating problems

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
maitri
Forum Newbie
Posts: 3
Joined: Sun May 29, 2005 11:47 pm

[SOLVED] Need help for different webserver creating problems

Post by maitri »

Hi,

I am creating shopping cart for my website. PHP version on intranet is 4.2.2 and that on hosting server is 4.3.10

My intranet server has include_path variable set to:
include_path =
.:/usr/share/pear
and my webserver (hosting) has
include_path =
.:/usr/local/lib/php
I am not getting any warnings or errors on my intranet server but I am getting following warnings on my webserver. The code on the internet(webserver) gets executed as required and no errors or warnings are generated during its execution.

Warning: main(./cart.php): failed to open stream: No such file or directory in /home/www/slscorp/newsls/includes/view_cart.php on line 2

Warning: main(): Failed opening './cart.php' for inclusion (include_path='') in /home/www/slscorp/newsls/includes/view_cart.php on line 2

Warning: main(./db_connect.php): failed to open stream: No such file or directory in /home/www/slscorp/newsls/includes/view_cart.php on line 3

Warning: main(): Failed opening './db_connect.php' for inclusion (include_path='') in /home/www/slscorp/newsls/includes/view_cart.php on line 3

I am not authorized to edit the php.ini file. Do you think there is some other option.

In case i edit the php.ini file's path; will it not create any problem in other file execution? May be something internally.

Its the webserver, we have hosted other sites too. Will this edition of php.ini affect the other site files? If yes, I cannot do that since, we have many users and customers surfing the things daily.

Please help, i am afraid i will meet my deadline.
maitri
Forum Newbie
Posts: 3
Joined: Sun May 29, 2005 11:47 pm

Solved

Post by maitri »

I have solved this problem
Post Reply