Home Joomla Website Design Pricing Packages Glossary Sitemap Contact Support Login Search
Home arrow Site Map arrow Index arrow Joomla arrow Bug Fixes 
ALL |0-9 |A |B |C |D |E |F |G |H |I |J |K |L |M |N |O |P |Q |R |S |T |U |V |W |X |Y |Z

Index arrow Joomla arrow Bug Fixes

Can't add descriptions to DOCMAN error PDF Print E-mail
fault by going to website and administrator menu after installing

Hi

I've installed mambo succesfully on http://www.waterinvuren.nl/mambo/ and I see the following fault:

Warning: mosgetbrowser() [function.mosgetbrowser]: Unable to access ../../includes/agent_browser.php in /customers/waterinvuren.nl/waterinvuren.nl/httpd.www/mambo/includes/mambofunc.php on line 175

Warning: mosgetbrowser(../../includes/agent_browser.php) [function.mosgetbrowser]: failed to open stream: No such file or directory in /customers/waterinvuren.nl/waterinvuren.nl/httpd.www/mambo/includes/mambofunc.php on line 175

Fatal error: mosgetbrowser() [function.require]: Failed opening required '../../includes/agent_browser.php' (include_path='.:/usr/lib/php') in /customers/waterinvuren.nlwaterinvuren.nl/httpd.www/mambo/includes/mambofunc.php on line 175

Here you get my line 175:

PHP Code:
function mosGetBrowser( $agent ) {
    require( "../../includes/agent_browser.php" ); 
I push F5... it goes to the site!?!?!

Following i'm going to enter the administrator menu (my menu to log in is very boring) and the I get this: (a very bad mambo administrator menu) and


Warning: main() [function.main]: Unable to access ../../../administrator/modules//customers/waterinvuren.nl/waterinvuren.nl/httpd.www/mambo//administrator/includes/menubar.html.php in /customers/waterinvuren.nl/waterinvuren.nl/httpd.www/mambo/administrator/modules/mod_toolbar.php on line 14

Warning: main(../../../administrator/modules//customers/waterinvuren.nl/waterinvuren.nl/httpd.www/mambo//administrator/includes/menubar.html.php) [function.main]: failed to open stream: No such file or directory in /customers/waterinvuren.nl/waterinvuren.nl/httpd.www/mambo/administrator/modules/mod_toolbar.php on line 14

Fatal error: main() [function.require]: Failed opening required '../../../administrator/modules//customers/waterinvuren.nl/waterinvuren.nl/httpd.www/mambo//administrator/includes/menubar.html.php' (include_path='.:/usr/lib/php') in /customers/waterinvuren.nl/waterinvuren.nl/httpd.www/mambo/administrator/modules/mod_toolbar.php on line 14

Here you get my line 14

PHP Code:
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
require_once( "../../../administrator/modules/$mosConfig_absolute_path/administrator/includes/menubar.html.php" ); 
I hope you'll get me out of this
highmastdon is offline   Reply With Quote
Old December 11th, 2006, 02:17   #2
mapleridge

Join Date: Dec 2006
Posts: 1
mapleridge is on a distinguished road
Default FIX for mambofunc.php 175 212

I had this error on line 175, 212, in mambofunc.php.
##############
Warning: mosGetBrowser(includes/agent_browser.php) [function.mosGetBrowser]: failed to open stream: No such file or directory in /xxxxx/xxxxx/includes/mambofunc.php on line 175

Fatal error: mosGetBrowser() [function.require]: Failed opening required 'includes/agent_browser.php' (include_path='/usr/share/php5') in /xxxxx/xxxxx/includes/mambofunc.php on line 175
##############
The problem is that the code is looking into a different directory for the includes when in fact the files mambofunc.php are referencing are in the same directory so the ./includes is not needed.

wrong:
175:
function mosGetBrowser( $agent ) {
require( "includes/agent_browser.php" );
212:
function mosGetOS( $agent ) {
require( "includes/agent_os.php" );

right:
175:
function mosGetBrowser( $agent ) {
require( "agent_browser.php" );
212:
function mosGetOS( $agent ) {
require( "agent_os.php" );

I hope this helps others.
Brian
mapleridge is offline  
 
Joomla Web Designer - Free Website Design Services Quote - Rates, Pricing and Fees
Copyright © 1999-2009 | 6805 Fleming Street Vancouver, British Columbia, Canada V5P 3H4
Privacy | Vancouver Movers Contact |Joomla Help & Support FAQ Archived Tickets

Top 10 Link Building Strategies and Ideas Free Joomla Templates Download Joomla Training

Joomla Web Site Designer - Development of Joomla websites by professional Canada webmasters. Joomla Vancouver, Toronto and Calgary