noob needs help!!

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

seeker2921
Forum Contributor
Posts: 120
Joined: Sat Mar 22, 2003 7:10 pm
Location: Wiesbaden Germany
Contact:

Post by seeker2921 »

I just went to the site and this is what I got:
Warning: main(language/lang-english.php): failed to open stream: No such file or directory in /home/pimpmyst/public_html/mainfile.php on line 162

Warning: main(): Failed opening 'language/lang-english.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/pimpmyst/public_html/mainfile.php on line 162

Fatal error: Call to undefined function: themeheader() in /home/pimpmyst/public_html/header.php on line 47
Now for the first and second errors, Either the file lang-english.php is no longer there or you changed the directory stucture and sisn't update the code for the changes or somehting along those lines.. You need to check to see if the file is there and if it is you need to go to line 162 in mainfile.php and check to see if the include path is correct for your directory stucture..

I would have to see the code ofr the third error.. But who knows perhaps if you get the first two error fixed the third error will magicly disappear..
User avatar
ol4pr0
Forum Regular
Posts: 926
Joined: Thu Jan 08, 2004 11:22 am
Location: ecuador

Post by ol4pr0 »

You could also try a editor..

Something like editplus which i use

HTTP://www.editplus.com/download.html

it will tell you the lines ;-)

also you should start counting from where the script starts

and not from line 1 saying

Code: Select all

/***************************************
*
*  SOME NICE INFO ABOUT SCRIPT 
*  
*   AND SOMEONE WHO CREATED IT BLA BLA
*
****************************************/

<? // START COUNTING HERE
Post Reply