Current location: Hot Scripts Forums » Programming Languages » PHP » anybody please help?


anybody please help?

Reply
  #1 (permalink)  
Old 12-20-04, 07:11 PM
hptone hptone is offline
Newbie Coder
 
Join Date: Sep 2004
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Question anybody please help?

whe i try to setup php script why it came out this error?
Warning: main(/home/www/tehpoh.freesuperhost.com/New Folder (4)/phpPgAds-2.0/libraries/lib-dbconfig.inc.php): failed to open stream: No such file or directory in /home/www/tehpoh.freesuperhost.com/New Folder (4)/phpPgAds-2.0/admin/install.php on line 29

Warning: main(): Failed opening '/home/www/tehpoh.freesuperhost.com/New Folder (4)/phpPgAds-2.0/libraries/lib-dbconfig.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/www/tehpoh.freesuperhost.com/New Folder (4)/phpPgAds-2.0/admin/install.php on line 29

Warning: main(/home/www/tehpoh.freesuperhost.com/New Folder (4)/phpPgAds-2.0/libraries/lib-revisions.inc.php): failed to open stream: No such file or directory in /home/www/tehpoh.freesuperhost.com/New Folder (4)/phpPgAds-2.0/admin/install.php on line 30

Warning: main(): Failed opening '/home/www/tehpoh.freesuperhost.com/New Folder (4)/phpPgAds-2.0/libraries/lib-revisions.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/www/tehpoh.freesuperhost.com/New Folder (4)/phpPgAds-2.0/admin/install.php on line 30

Fatal error: Call to undefined function: phpads_revisioncheck() in /home/www/tehpoh.freesuperhost.com/New Folder (4)/phpPgAds-2.0/admin/install.php on line 38

how to fix it?thanks a lot
Reply With Quote
  #2 (permalink)  
Old 12-20-04, 10:16 PM
freeauctionscripts freeauctionscripts is offline
Newbie Coder
 
Join Date: Aug 2004
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
What I can see with this error message is you are trying to install phpPgAds-2.0, but the script can't open the file lib-dbconfig.inc.php which is located at:
home/www/tehpoh.freesuperhost.com/New Folder (4)/phpPgAds-2.0/libraries/lib-dbconfig.inc.php
my guess is "New Folder (4)" shouldn't supposed to be there. But I have to see the code to give a certain answer.
Please send php code of install.php, then I can help more.
p.s. if you have database name, password etc. in install.php file please hide them before sending code.
p.s.2 I'm not a php expert just learning my way.
matt
Reply With Quote
  #3 (permalink)  
Old 12-21-04, 07:13 AM
hptone hptone is offline
Newbie Coder
 
Join Date: Sep 2004
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
this problem has been fixed thanks
but it came out another problem

Before you continue, please correct these potential problems:

The following item(s) need to be corrected before you can install phpPgAds. If you have any questions about this error message, please read the Administrator guide, which is part of the package you downloaded.
The version of PHP you are using doesn't have support for connecting to a PostgreSQL database server. You need to enable the PHP PostgreSQL extension before you can proceed.
If you are not able to correct the problems listed above, please contact the administrator of the server you are trying to install phpPgAds on. The administrator of the server may be able to help you.


how to fix it ,currently i using 100webspace.com is it posible to fix it ?thanks
Reply With Quote
  #4 (permalink)  
Old 12-21-04, 10:56 PM
xtremenw xtremenw is offline
Newbie Coder
 
Join Date: Dec 2004
Location: Tacoma, WA
Posts: 69
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by hptone
this problem has been fixed thanks
but it came out another problem

Before you continue, please correct these potential problems:

The following item(s) need to be corrected before you can install phpPgAds. If you have any questions about this error message, please read the Administrator guide, which is part of the package you downloaded.
The version of PHP you are using doesn't have support for connecting to a PostgreSQL database server. You need to enable the PHP PostgreSQL extension before you can proceed.
If you are not able to correct the problems listed above, please contact the administrator of the server you are trying to install phpPgAds on. The administrator of the server may be able to help you.


how to fix it ,currently i using 100webspace.com is it posible to fix it ?thanks
Looks like php is not compiled with Postgresql or the 'RPM' for php-pg is not installed... Not much you can do. The admin needs to recompile php or install php-pg-%version.%arch.rpm
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump


All times are GMT -5. The time now is 05:22 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.