Results 1 to 8 of 8
  1. #1
    Casual Pligger sixlaneve's Avatar
    Joined
    Dec 2006
    Posts
    69

    upgrade process from 8 to 9 was fine, but... funcion.file-get-contents

    yes, sorry, another problem post upgrade! :'(

    The upgrade process from 8 to 9 didn't give me any problem, but when reopening the site:

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

    so, looks like a path is wrong, but where can I fix/set the right ones?

    BTW... php info: http://www.ingenuus.it/info.php

  2. #2
    New Pligger Netherlands's Avatar
    Joined
    Dec 2006
    Posts
    21
    I've got the same problem using a custom template:
    Warning: file_get_contents(./../libs/lang.conf) [function.file-get-contents]: failed to open stream: No such file or directory in /home/usrusr/public_html/00/class.config.php on line 49
    Could not open ./../libs/lang.conf

    I can't find the file in which I can manually edit the template. It used to be config2.php , but it doesn't exist anymore. It also isn't stored in settings.php!

  3. #3
    Pligg Developer/Admin kbeeveer46's Avatar
    Joined
    Jun 2006
    Posts
    3,215
    at the top of every tpl file of your template does it say

    Code:
    {config_load file="/libs/lang.conf"}
    or something different?

  4. #4
    Pligg Developer/Admin kbeeveer46's Avatar
    Joined
    Jun 2006
    Posts
    3,215
    For the person who is creating a custom template. About 3 weeks ago Ash changed the line of code in my previous post. It used to say


    Code:
    {config_load file="../libs/lang.conf"}
    and it was changed to:

    Code:
    {config_load file="/libs/lang.conf"}
    Check out this changeset when it was done. Make sure to click on "text changed" to see the changes http://pligg.svn.sourceforge.net/vie...v&revision=374

  5. #5
    New Pligger Netherlands's Avatar
    Joined
    Dec 2006
    Posts
    21
    Yeah, in alot of tpl files this is it: {config_load file="../libs/lang.conf"}
    Do I manually need to change them , or could I make a libs folde with lang.conf inside it somewhere?

    Edit: I've put an libs folder with the flie inside above my pligg directory! It's a fast fix, as long as you have installed it in a subfolder

  6. #6
    Pligg Developer/Admin kbeeveer46's Avatar
    Joined
    Jun 2006
    Posts
    3,215
    the way that might not be the easiest but I know will work is to edit all the tpl files listed in that changeset manually. It shouldn't take that long.

  7. #7
    Constant Pligger disier's Avatar
    Joined
    Nov 2006
    Posts
    123
    Thank you Kbeeveer46 I was waiting for you yesterday to fix me that error.

  8. #8
    Casual Pligger sixlaneve's Avatar
    Joined
    Dec 2006
    Posts
    69
    and so it was, a tiny file escaped the update...

    thanks admins. I can now enjoy this new beta!

Similar Threads

  1. Published contents disappaered and could not log in
    By peterish in forum Questions & Comments
    Replies: 0
    Last Post: 05-08-2010, 02:28 AM
  2. I have to change the language file if I upgrade from 1.0.1?
    By riga75 in forum Questions & Comments
    Replies: 4
    Last Post: 11-18-2009, 09:48 AM
  3. template for Contents?
    By feedoholic in forum Questions & Comments
    Replies: 1
    Last Post: 02-20-2009, 06:04 AM
  4. I can't edit the story contents, help!
    By manboo in forum Questions & Comments
    Replies: 0
    Last Post: 04-19-2008, 07:53 PM
  5. Contents always beeing truncated
    By Wonderm00n in forum Questions & Comments
    Replies: 2
    Last Post: 04-12-2008, 08:54 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Pligg Modules and Pligg Templates from Pligg Pro Donate to Pligg CMS Dreamhost Web Hosting Host Gator Web Hosting