Go Back   Pligg CMS Forum > Pligg Development > Pligg Modules > Module Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-13-2008, 04:40 PM
New Pligger
Pligg Version: 9.9.5
 
Join Date: Aug 2008
Posts: 19
Thanks: 3
Thanked 2 Times in 2 Posts
Featured Story For Pligg 9.9.5

I am trying to install featured story module for pligg 9.9.5 but get the following error:

Warning: file_get_contents(.//libs/lang.conf) [function.file-get-contents]: failed to open stream:No such file or directory in /class.config.php on line 49
Could not open .//libs/lang.conf

Pligg 9.9.5 does not have the following file /libs/lang.conf

Is there a work around or am I missing something?

Thanks
Reply With Quote
  #2 (permalink)  
Old 08-13-2008, 05:24 PM
cmstheme's Avatar
Pligg Donor
Pligg Version: 9.9
Pligg Template: Squaretle
 
Join Date: Jan 2007
Posts: 248
Thanks: 28
Thanked 40 Times in 30 Posts
Edit: Please see 4th post
__________________
Join our Pligg Template Club now while prices are still cheap!

Last edited by cmstheme; 08-14-2008 at 02:57 PM..
Reply With Quote
  #3 (permalink)  
Old 08-13-2008, 05:25 PM
Yankidank's Avatar
Coder/Designer
Pligg Version: SVN
Pligg Template: Wistie
 
Join Date: Dec 2005
Location: Ocala, FL
Posts: 1,828
Thanks: 110
Thanked 183 Times in 129 Posts
Send a message via AIM to Yankidank Send a message via Skype™ to Yankidank
Do you have a languages/lang_english.conf file? Make sure your languages directory is CHMOD 777............
Wait a second.... how old is the featured story module? It might be from before we moved the language file, which means it needs updated so it knows where to look for the file.
__________________
Need a Pligg Host?
Get 3 free months
when you buy a year of hosting.
Use the coupon PLIGG at either...
MidPhase hosting starting at $7.95/month.
ANhosting hosting starting as low as $4.95/month.
Reply With Quote
  #4 (permalink)  
Old 08-13-2008, 06:03 PM
cmstheme's Avatar
Pligg Donor
Pligg Version: 9.9
Pligg Template: Squaretle
 
Join Date: Jan 2007
Posts: 248
Thanks: 28
Thanked 40 Times in 30 Posts
On /featured_story/templates/featured_story_index.tpl,
replace
PHP Code:
{config_load file=$featured_story_lang_conf
with
PHP Code:
{config_load file="/languages/lang_".$pligg_language.".conf"
__________________
Join our Pligg Template Club now while prices are still cheap!
Reply With Quote
The Following 2 Users Say Thank You to cmstheme For This Useful Post:
  #5 (permalink)  
Old 08-13-2008, 07:44 PM
New Pligger
Pligg Version: 9.9.5
 
Join Date: Aug 2008
Posts: 19
Thanks: 3
Thanked 2 Times in 2 Posts
Hi yes. Its been fixed. Thanks
Reply With Quote
  #6 (permalink)  
Old 08-14-2008, 02:13 PM
Casual Pligger
 
Join Date: Mar 2008
Posts: 33
Thanks: 9
Thanked 0 Times in 0 Posts
My pligg version: Pligg 9.9.5

I've changed cmstheme said but I've still this error:


Warning: file_get_contents() [function.file-get-contents]: Unable to access .//libs/lang.conf in /var/www/vhosts/domain.com/httpdocs/class.config.php on line 49

Warning: file_get_contents(.//libs/lang.conf) [function.file-get-contents]: failed to open stream: Permission denied in /var/www/vhosts/domain.com/httpdocs/class.config.php on line 49
Could not open .//libs/lang.conf


Can you help me?

Thanks

Last edited by nuki; 08-14-2008 at 02:28 PM..
Reply With Quote
  #7 (permalink)  
Old 08-14-2008, 03:03 PM
cmstheme's Avatar
Pligg Donor
Pligg Version: 9.9
Pligg Template: Squaretle
 
Join Date: Jan 2007
Posts: 248
Thanks: 28
Thanked 40 Times in 30 Posts
CHMOD your /languages/lang_english.conf to 777
__________________
Join our Pligg Template Club now while prices are still cheap!
Reply With Quote
The Following User Says Thank You to cmstheme For This Useful Post:
  #8 (permalink)  
Old 08-16-2008, 01:03 PM
Casual Pligger
 
Join Date: Mar 2008
Posts: 33
Thanks: 9
Thanked 0 Times in 0 Posts
Thanks cmstheme for your reply but lang_english.conf to 777 archive is 777 and the error is the same.

Another idea?

Thanks
Reply With Quote
Reply

Thread Tools
Display Modes
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
Featured Story with radom id popsantiago Module Support 10 07-30-2008 04:34 PM
Featured Story Mod Question bbrian017 General Help 2 05-01-2008 09:42 AM
how to pass variable from releated story to featured story? jackyu General Help 1 03-01-2008 06:20 AM
Featured Story Geoserv General Help 2 01-18-2008 06:49 AM
Featured Story Module - Multiple Stories spartacus Modification Tutorials 4 10-07-2007 07:20 PM


Search Engine Friendly URLs by vBSEO 3.2.0