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

- upgrade process from 8 to 9 was fine, but... funcion.file-get-contents
-
Casual Pligger
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
-
New Pligger
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!
-
Pligg Developer/Admin
at the top of every tpl file of your template does it say
Code:
{config_load file="/libs/lang.conf"} or something different?
-
Pligg Developer/Admin
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
-
New Pligger
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
-
Pligg Developer/Admin
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.
-
Constant Pligger
Thank you Kbeeveer46 I was waiting for you yesterday to fix me that error.
-
Casual Pligger
and so it was, a tiny file escaped the update...
thanks admins. I can now enjoy this new beta!
Similar Threads
-
By peterish in forum Questions & Comments
Replies: 0
Last Post: 05-08-2010, 02:28 AM
-
By riga75 in forum Questions & Comments
Replies: 4
Last Post: 11-18-2009, 09:48 AM
-
By feedoholic in forum Questions & Comments
Replies: 1
Last Post: 02-20-2009, 06:04 AM
-
By manboo in forum Questions & Comments
Replies: 0
Last Post: 04-19-2008, 07:53 PM
-
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
-
Forum Rules