Re: Fatal error, but include_path seems correct?
| From: | Roderick Martin | Date: | Fri, 14 Nov 2003 15:08:09 +0000 |
| Subject: | Re: Fatal error, but include_path seems correct? | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-22096@lists.php.net to get a copy of this message | ||
Toby,
Maybe this is something.
$cfg['PmaAbsoluteUri'] is set to "http://www.myserver.com/phpMyAdmin254" (of course, myserver being my real server)
$cfg['Servers'][$i]['host'] = 'localhost';Both of these were set this way already (before your suggestion). Now, mysql runs locally in a console with its setting pointing to "localhost". Might the problem be that PmaAbsoluteUri is not set to the "localhost" equivalent, but the "external" URL? If so, how do I figure out where "http://localhost/" points to so I can complete the path? I tried entering "http://localhost/" in IE on the source computer, but I got an error. thanks!!! On Nov 13, 2003, at 11:54 PM, toby z wrote:
hay rod locate $cfgPmaAbsoluteUri in ur phpmyadmin config.inc file and put the path by which ur trying to access myadmin ..... like 'http://localhost/myadmin/'; then $cfgServers[$i]['host'] = 'localhost'; and 3rd .... u need-not include path to myadmin in ur include_path in php.ini :) good luck toby configurtion is a rather hair-tearing and mind-repairing process .... bare with it :) --- Roderick Martin <rmartin@mail.state.il.us> wrote: > Tried it. Same error message...Fatal error: Failed opening required './libraries/grab_globals.lib.php' (include_path='.;c:\php4\pear;D:\Netscape\SuiteSpot\docs;D: \Netscape\SuiteSpot\docs\phpMyAdmin254') ind:/Netscape/SuiteSpot/docs/phpMyAdmin254/index.php on line 9 On Nov 13, 2003, at 10:15 AM, Eric COLINET wrote:________________________________________________________________________ Want to chat instantly with your online friends? Get the FREE Yahoo! Messenger http://mail.messenger.yahoo.co.uk --PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.phpTry :include_path,D: \Netscape\SuiteSpot\docs\phpMyAdmin254Instead of :D: \Netscape\SuiteSpot\docs\phpMyAdmin254\librariesfor your include path. Eric At 16:34 13/11/2003, Roderick Martin wrote:My setup: PHP 4.0.6 Windows NT 4.0 Netscape-Enterprise/3.6 SP3 Installed phpMyAdmin to the root of the server, which is d:/Netscape/SuiteSpot/docs/phpMyAdmin254/ I get the error: Fatal error: Failed opening required './libraries/grab_globals.lib.php' (include_path='.;c:\php4\pear;D:\Netscape\SuiteSpot\docs;D: \Netscape\SuiteSpot\docs\phpMyAdmin254\libraries') ind:/Netscape/SuiteSpot/docs/phpMyAdmin254/index.php on line 9 As you can see, I've added the path to phpMyAdmin in mygrab_globals.lib.php.but it still errors out. Yes, there is a /libraries folder containingAny suggestions?-- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php