PHP Web Host - Quality Web Hosting For All PHP Applications Free RavenNuke(tm) Add Ons
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
NovemberRain
New Member
New Member


Joined: Jul 12, 2003
Posts: 8
Location: Istanbul

PostPosted: Thu Jun 03, 2004 7:08 pm Reply with quote Back to top

Hello, i installed senintel 1.1.0 at my site everything seemed ok, i tried it and works perfectly but users started to say that they get errors at the top etc. Strange thing is i don't get an error message, many users don't but lots of others are getting errors. So i removed the include line in mainfile.php and everything is fine now nobody is seeing error messages. I am using nuke 7.3 with latest patch by chatserv.

The error message is like this:

Code:
"Warning: main(language/lang-english.php): failed to open stream: No such file or directory in /home/****/public_html/mainfile.php on line 142

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


The line around 142 in mainfile.php is

Code:
   }
    } elseif (isset($lang)) {
   include("language/lang-".$lang.".php");
   $currentlang = $lang;
    } else {
   setcookie("lang",$language,time()+31536000);
   include("language/lang-".$language.".php");
   $currentlang = $language;
    }
}


And in the blocks

Code:
Warning: main(modules/Kalender/language/lang-english.php): failed to open stream: No such file or directory in /home/****/public_html/blocks/block-Calendar1.php on line 19

Warning: main(): Failed
opening 'modules/Kalender/language/lang-english.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/****/public_html/blocks/block-Calendar1.php on line 19



It is searching for the english lang files when senintel is installed, i am using Turkish language and everything is ok. What has senintel got to do with those language errors in other modules?


Last edited by NovemberRain on Sun Jun 06, 2004 1:31 pm; edited 1 time in total
View user's profile Send private message ICQ Number
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Thu Jun 03, 2004 7:33 pm Reply with quote Back to top

See if this helps
Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
NovemberRain
New Member
New Member


Joined: Jul 12, 2003
Posts: 8
Location: Istanbul

PostPosted: Sun Jun 06, 2004 1:32 pm Reply with quote Back to top

Thanks, that worked.
View user's profile Send private message ICQ Number
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum