Oops! I decided to 'upgrade' to 1.1 after a succesfull testrun at supersiezed (latest nightly build from July 1st) and it killed my blog:
Warning: main(Smarty/libs/core\core.load_plugins.php): failed to open stream: No such file or directory in F:\apache2triad\htdocs\serendipity\templates_c\contest
^%%32^326^326D5B84%%entries.tpl.php on line 3 Fatal error: main(): Failed opening required 'Smarty/libs/core\core.load_plugins.php' (include_path='.;f:\apache2triad\php;f:\apache2triad\php\smarty;
f:\apache2triad\php\pear;F:\apache2triad\htdocs\serendipity/bundled-libs/
;F:\apache2triad\htdocs\serendipity/bundled-libs/Smarty/libs/;
F:\apache2triad\htdocs\serendipity/;') in F:\apache2triad\htdocs\serendipity\templates_c\contest^
%%32^326^326D5B84%%entries.tpl.php on line 3
What went wrong???
HELP!
HELP! 'upgrade to 1.1beta' killed my blog
HELP! 'upgrade to 1.1beta' killed my blog
Last edited by hgoor on Mon Jul 03, 2006 4:31 pm, edited 1 time in total.
"If life is worth living, it's worth documenting" -- Adam Curry ("Podfather")
Bloggers@large: http://www.vandegoor.com
iLounge Radio: http://www.hostingperfect.net:8004/listen.pls
Bloggers@large: http://www.vandegoor.com
iLounge Radio: http://www.hostingperfect.net:8004/listen.pls
How do I downgrade from 1.1 to 1.0 ???
"If life is worth living, it's worth documenting" -- Adam Curry ("Podfather")
Bloggers@large: http://www.vandegoor.com
iLounge Radio: http://www.hostingperfect.net:8004/listen.pls
Bloggers@large: http://www.vandegoor.com
iLounge Radio: http://www.hostingperfect.net:8004/listen.pls
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: HELP! 'upgrade to 1.1beta' killed my blog
Hi!
Judging from the output I would guess that the "Smarty/libs/core.load_plugins.php" file could not be found.
Check if you got that file. It seems to be included from your include_path in "f:\apache2triad\php\smarty".
Serendipity 1.1 honors the include path more generously to allow it working in PEAR environments easier. If you have your own smarty in one of the include_paths, make sure all files are in place, or tear down that directory.
Another thing that might make trouble is the mixing of "\" and "/" slashes. Try to configure your setup so that always forward "/" slashes are used. This is the more compatible syntax, "\" should be avoided.
Best regards,
Garvin
Judging from the output I would guess that the "Smarty/libs/core.load_plugins.php" file could not be found.
Check if you got that file. It seems to be included from your include_path in "f:\apache2triad\php\smarty".
Serendipity 1.1 honors the include path more generously to allow it working in PEAR environments easier. If you have your own smarty in one of the include_paths, make sure all files are in place, or tear down that directory.
Another thing that might make trouble is the mixing of "\" and "/" slashes. Try to configure your setup so that always forward "/" slashes are used. This is the more compatible syntax, "\" should be avoided.
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Re: HELP! 'upgrade to 1.1beta' killed my blog
Hmm, I just droped the databse tables and restored from a backup that I did prior to upgrading (also overwritten all files again with 1.0) and It seems my blog is back.garvinhicking wrote:Hi!
Judging from the output I would guess that the "Smarty/libs/core.load_plugins.php" file could not be found.
Check if you got that file. It seems to be included from your include_path in "f:\apache2triad\php\smarty".
Serendipity 1.1 honors the include path more generously to allow it working in PEAR environments easier. If you have your own smarty in one of the include_paths, make sure all files are in place, or tear down that directory.
Another thing that might make trouble is the mixing of "" and "/" slashes. Try to configure your setup so that always forward "/" slashes are used. This is the more compatible syntax, "" should be avoided.
Best regards,
Garvin
I host on Windows XP using Apache2triad. The weird thing: when I look into my config files there are all / (forward) slashes: so I wonder where the \ come from?
"If life is worth living, it's worth documenting" -- Adam Curry ("Podfather")
Bloggers@large: http://www.vandegoor.com
iLounge Radio: http://www.hostingperfect.net:8004/listen.pls
Bloggers@large: http://www.vandegoor.com
iLounge Radio: http://www.hostingperfect.net:8004/listen.pls
I hope this is not going to be a same thing as with that tags plugin 
Here is what I found: I only have php\smarty\core and plugins, but no libs dir?
So why is it looking for that?
And why don't I have a problem with 1.0 ?
If this is going to mean the final 1.1 release will have the same problem, I'm f***
Here is what I found: I only have php\smarty\core and plugins, but no libs dir?
So why is it looking for that?
And why don't I have a problem with 1.0 ?
If this is going to mean the final 1.1 release will have the same problem, I'm f***
"If life is worth living, it's worth documenting" -- Adam Curry ("Podfather")
Bloggers@large: http://www.vandegoor.com
iLounge Radio: http://www.hostingperfect.net:8004/listen.pls
Bloggers@large: http://www.vandegoor.com
iLounge Radio: http://www.hostingperfect.net:8004/listen.pls
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
I have no experience with Apache2Triad; but the "include_path" setting is usually set within the php.ini. Can you check that?
It seems because that smarty directory is existing in your own directory, that Smarty version is used, but there are missing files.
The problem is just that your include_path setting advertises that your server has Smarty installed and available, but when s9y tries to include that, Smarty is only half-way installed in that apache2triad directory...so it's hard for s9y to know that your server is betraying us.
)
Best regards,
Garvin
I have no experience with Apache2Triad; but the "include_path" setting is usually set within the php.ini. Can you check that?
It seems because that smarty directory is existing in your own directory, that Smarty version is used, but there are missing files.
As I mentioned, 1.1 now prefers local PEAR installations because many users complained about the fact that s9y needed its own Smarty installation. If you correct your include_path setting, it should work again. If you can't get it to work, you can change the use_PEAR option in the serendipity_config.inc.php file, but I'd suggest to fix the probem properly by inspecting the Smarty directory of Apache2Triad.And why don't I have a problem with 1.0 ?
Well, 1.1 is in alpha stage because of things like these, so that we can detect and fix problems on different installations. I'm quite sure this is solvable.If this is going to mean the final 1.1 release will have the same problem, I'm f***
The problem is just that your include_path setting advertises that your server has Smarty installed and available, but when s9y tries to include that, Smarty is only half-way installed in that apache2triad directory...so it's hard for s9y to know that your server is betraying us.
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Yeah well, I should just get the heck away from XP and get over to Linux.
I have a question about that actually: when I backup a database does it include paths and such?
So if I install Serendipity under Linux and then restore the database, will that work you think? I do not like the prospect of having to restore my blog all manually
(providing I copy all other files like photos etc... to the same directories and such?)
I have a question about that actually: when I backup a database does it include paths and such?
So if I install Serendipity under Linux and then restore the database, will that work you think? I do not like the prospect of having to restore my blog all manually
(providing I copy all other files like photos etc... to the same directories and such?)
"If life is worth living, it's worth documenting" -- Adam Curry ("Podfather")
Bloggers@large: http://www.vandegoor.com
iLounge Radio: http://www.hostingperfect.net:8004/listen.pls
Bloggers@large: http://www.vandegoor.com
iLounge Radio: http://www.hostingperfect.net:8004/listen.pls
The database shouldn't include any paths, at least not in that manner. You should be able to import the Windows database directly to the Linux server without modifications.
Providing you're using MySQL, of course.
(And if you use photos from the Media Manager, it'll use a URI scheme to include the photo, so you shouldn't have to worry about it much.)
You might also like to check this section of the FAQ for more details about migrating Serendipity to a new server: http://s9y.org/11.html#A21.
Providing you're using MySQL, of course.
(And if you use photos from the Media Manager, it'll use a URI scheme to include the photo, so you shouldn't have to worry about it much.)
You might also like to check this section of the FAQ for more details about migrating Serendipity to a new server: http://s9y.org/11.html#A21.
Thanks: I will just go try all that and see what happens.. Good thing is off course that I have 2 servers now and can just make it completely work before I really switch over...
"If life is worth living, it's worth documenting" -- Adam Curry ("Podfather")
Bloggers@large: http://www.vandegoor.com
iLounge Radio: http://www.hostingperfect.net:8004/listen.pls
Bloggers@large: http://www.vandegoor.com
iLounge Radio: http://www.hostingperfect.net:8004/listen.pls
Similar problem, but...
I'm getting this error after upgrading from 1.0.1 to 1.1 (names changed):
Now it's reasonably likely that s9y could find another Smarty installation on this server, however, the only ones with a capitalised 'Smarty' are from other s9y installs that do not appear in the include path, and I've manually checked through my include paths and nothing matches this other than the Smarty folder in the bundled libs folder of 1.1. I tried deleting the bundled libs folder and recopying over the top so that any old folders would disappear. What's more, it's not so much that it's not finding the file, but that it's asking for the wrong one, suggesting the problem is further upstream. Smarty/libs/core does not exist in the 1.1 release - Smarty/libs/internals does, so it should not be asking for this file in the first place. In s9y 1.0.1, this path did exist, but no longer.
While writing this, I managed to 'fix' this by symlinking Smarty/libs/internals to Smarty/libs/core within my 1.1 installation, so that's a workaround, but something, somewhere seems wrong in 1.1.
Code: Select all
Warning: require_once(Smarty/libs/core/core.load_plugins.php) [function.require-once]: failed to open stream: No such file or directory in /var/www/html/www.example.com/marcus/blog/templates_c/bex01^%%41^41F^41F54248%%entries.tpl.php on line 3
Fatal error: require_once() [function.require]: Failed opening required 'Smarty/libs/core/core.load_plugins.php' (include_path='.:./includes:/usr/share/pear:/var/www/php/includes:/var/www/html/www. example.com/marcus/blog/bundled-libs/:/var/www/html/www.example.com/marcus/blog/bundled-libs/Smarty/libs/:/var/www/html/www.example.com/marcus/blog/:') in /var/www/html/www.example.com/marcus/blog/templates_c/bex01^%%41^41F^41F54248%%entries.tpl.php on line 3While writing this, I managed to 'fix' this by symlinking Smarty/libs/internals to Smarty/libs/core within my 1.1 installation, so that's a workaround, but something, somewhere seems wrong in 1.1.
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Similar problem, but...
Hi!
That's really strange! The Smarty.class.php file uses this constant:
SMARTY_CORE_DIR
which is set to use "internals". Could it be that your s9y is including a Smarty.class.php where this constant is different?
You could try to make Serendipity NOT use any of your PEAR installations by editing your serendipity_config_local.inc.php or serendipity_config.inc.php file and setting
HTH,
Garvin
That's really strange! The Smarty.class.php file uses this constant:
SMARTY_CORE_DIR
which is set to use "internals". Could it be that your s9y is including a Smarty.class.php where this constant is different?
You could try to make Serendipity NOT use any of your PEAR installations by editing your serendipity_config_local.inc.php or serendipity_config.inc.php file and setting
Code: Select all
$serendipity['use_PEAR'] = false;
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/