tyz6970 Posted August 7, 2004 Posted August 7, 2004 Hi, When I checkout, I have the following message. Warning: main(DIR_WS_TEMPLATESTEMPLATENAME_MAIN_PAGE): failed to open stream: No such file or directory in /home/tyz6970/public_html/login.php on line 80 Fatal error: main(): Failed opening required 'DIR_WS_TEMPLATESTEMPLATENAME_MAIN_PAGE' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/tyz6970/public_html/login.php on line 80 Can someone help me. Hope someone can help me. My Webpage Thank you
niknakgroup Posted August 7, 2004 Posted August 7, 2004 Hi. Your problem lies in your login.php file, or possibly a bad definition in filenames.php - have just checked the default login.php file, and it hasnt got anything that should cause this error - could you paste in that section of your code (approx lines 75-85 from login.php) ao I can take a squint and try and decode it for you. Nice button set btw! Oh, just a thought, but are you using simple template system or something?? Please note - if I have suggested a contrib above, it doesnt mean it will work! Most of the contribs are not ones I've used, but may be useful for your particular problem.... Have you tried a refined search? Chances are your problem has already been dealt with elsewhere on the forums..... if (stumped == true) { return(square_one($start_over) } else { $random_query = tep_fetch_answer($forum_query) }
tyz6970 Posted August 10, 2004 Author Posted August 10, 2004 Hi. Your problem lies in your login.php file, or possibly a bad definition in filenames.php - have just checked the default login.php file, and it hasnt got anything that should cause this error - could you paste in that section of your code (approx lines 75-85 from login.php) ao I can take a squint and try and decode it for you. Nice button set btw! Oh, just a thought, but are you using simple template system or something?? Sori, not too sure. I am a totally new to this e-commerce. I am using the contribution contribute by someone. Can you help me. what should I do. Thanks
tyz6970 Posted August 10, 2004 Author Posted August 10, 2004 Hi. Your problem lies in your login.php file, or possibly a bad definition in filenames.php - have just checked the default login.php file, and it hasnt got anything that should cause this error - could you paste in that section of your code (approx lines 75-85 from login.php) ao I can take a squint and try and decode it for you. Nice button set btw! Oh, just a thought, but are you using simple template system or something?? Hi, You have mentioned line 75-85. How to check where is line 75 - 85. Please enlighten me. Thank you
niknakgroup Posted August 10, 2004 Posted August 10, 2004 OK. You mention you are using a contribution - any idea as to which one?? And to find lines 75-85, either open the file with notepad and count down to the 75th box shaped thingy (sorry, I cant copy and paste it in here, it just sends me to the next line - it looks like a small rectangle which is the height oif the current line of text) - this is a bit hit and miss, but kinda works, or download a php editing tool. There are quite a few, but the one I use is called PHP Coder and you can get it from http://www.phpide.de/ - its free. Dont worry about being new, thats where we all started! hth :ph34r: Please note - if I have suggested a contrib above, it doesnt mean it will work! Most of the contribs are not ones I've used, but may be useful for your particular problem.... Have you tried a refined search? Chances are your problem has already been dealt with elsewhere on the forums..... if (stumped == true) { return(square_one($start_over) } else { $random_query = tep_fetch_answer($forum_query) }
Recommended Posts
Archived
This topic is now archived and is closed to further replies.