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

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
buddhaji
Forum Newbie
Posts: 2
Joined: Wed Sep 12, 2007 2:08 am

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

Post 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
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post 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.
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Post by onion2k »

http://ayurvedahc.com/ looks fine to me. Are we being spammed?
buddhaji
Forum Newbie
Posts: 2
Joined: Wed Sep 12, 2007 2:08 am

Post 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.
Post Reply