require_once
Posted by: Ramsing (---.73.147.157.ip.tele2adsl.dk)
Date: January 17, 2006 09:26PM

Hi,
I have a site running on Mambo 4.5.3 - works fine.
I made a complete backup with Big_Ape
Installed Wampserver on local machine - works fine
Tried to roll the backup out on the local machine - dosent work.
I get this error:

Warning: require_once(/customers/guruerne.dk/guruerne.dk/httpd.www/includes/version.php) [function.require-once]: failed to open stream: No such file or directory in C:\Programmer\wamp\www\includes\mambo.php on line 41

Fatal error: require_once() [function.require]: Failed opening required '/customers/guruerne.dk/guruerne.dk/httpd.www/includes/version.php' (include_path='.;C:\php5\pear') in C:\Programmer\wamp\www\includes\mambo.php on line 41

In line 41- of the mambo.php I found this:
require_once( $mosConfig_absolute_path . '/includes/version.php' );
require_once( $mosConfig_absolute_path . '/includes/database.php' );
require_once( $mosConfig_absolute_path . '/includes/gacl.class.php' );
require_once( $mosConfig_absolute_path . '/includes/gacl_api.class.php' );
require_once( $mosConfig_absolute_path . '/includes/phpmailer/class.phpmailer.php' );
require_once( $mosConfig_absolute_path . '/includes/mamboxml.php' );
require_once( $mosConfig_absolute_path . '/includes/phpInputFilter/class.inputfilter.php' );

What must I do to get it running? Mind you - Im NOT a wizzard - more of a user so go gentle :-)

Greetings
Ramsing

Options: ReplyQuote
Re: require_once
Posted by: Romain Bourdon (---.w193-251.abo.wanadoo.fr)
Date: January 18, 2006 09:28AM

your $mosConfig_absolute_path semms not to be well defined. Have a look at your mambo config.

Romain

Options: ReplyQuote
Re: require_once
Posted by: Ramsing (---.73.147.157.ip.tele2adsl.dk)
Date: January 18, 2006 04:38PM

Looks like this:

$include_path = :c:\programmer\wamp\php\PEAR;c:\programmer\wamp\www\includes

What should I change?

Regards
Ramsing

Options: ReplyQuote
Re: require_once
Posted by: Ramsing (---.73.147.157.ip.tele2adsl.dk)
Date: January 18, 2006 04:42PM

Sorry - wrong line.
$mosConfig_absolute_path is found several times in mambo.php.
Is it not possible to get this running without being a programmer or geek??
Im a user and non of the above :-(

Options: ReplyQuote


Sorry, only registered users may post in this forum.