Page 1 of 1

Need Joomla coder: main()[function.require]: Failed opening

Posted: Wed Sep 12, 2007 2:11 am
by buddhaji
Im using joomla
had changed the configuration.php password and lost db connection, then pasted it back, but now the home page http://ayurvedahc.com only shows the banner and this error:
Fatal error: main() [function.require]: Failed opening required '' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/vedicfri/public_html/ayurvedahc/modules/mod_newsflash.php on line 17
Line 17 says:

Code: Select all

require_once( $mainframe->getPath( 'front_html', 'com_content') );
What is: $mainframe and getPath() function is doing and how does it work? How can i fix this?

Please help. site is down
(Ive posted on joomla forum but no answers)
Many thanks

Posted: Wed Sep 12, 2007 3:20 pm
by feyd
The function would appear to be returning an empty string. Likely because it does not recognize something from your input or data that results from it.

Posted: Wed Sep 12, 2007 3:25 pm
by onion2k
http://ayurvedahc.com/ looks fine to me. Are we being spammed?

Posted: Wed Sep 12, 2007 3:54 pm
by buddhaji
SOLVED
I paid a coder to fix the site
Solution: 555 folder com_content; uploaded new mod_rewrite.php
Thanks for checking in.