Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - paulmc

Pages: [1]
1
Plugins / Re: Fatal error:...on line 29
« on: November 07, 2002, 06:59:02 PM »
Here is what I did to solve the:

"Fatal error: Failed opening required './../admin/admin_global.php' (include_path='.:/usr/lib/php') in /home/httpd/html/4images/admin/plugins/batch_import.php on line 29"

Just add another directory level on the line

$root_path = (eregi("\/plugins\/", $PHP_SELF)) ? "./../../" : "./../";

change to

$root_path = (eregi("\/plugins\/", $PHP_SELF)) ? "./../../" : "./../../ ";

Works fine now. BTW I'm running 4images on Mac OS X.

Paul

Pages: [1]