I have done the instalation with serendipity 0.9.1. I have required all requirement system and all path.
But after the installation, (the message tell me the instalation success and visit theserendipity page), i can't open my first page at all. The error message tell
Warning: Smarty error: unable to read resource: "" in /home/leksa/domains/leksanadra.com/public_html/bundled-libs/Smarty/libs/Smarty.class.php on line 1088
Anybody know what happened in my case??
http://leksanadra.com/index.php
Thanks..
eror in the my first page
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: eror in the my first page
This error can happen if your "templates_c" directory is not writable for the webserver user, or if you specified a bad Serendipity Path setting in your Configuration panel.
Please check those two issues and report back if it helps?
Regards,
Garvin
Please check those two issues and report back if it helps?
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/
-
leksanadra.com
i have set the permission. But it doesnt work.
About the configuration panel, i dont know what do you mean about that. In the installation process, i didnt change the path value. I use the default that serendipity's intallation chose.
Do you think i have to reinstall serendipity? What file that i have to up load again to begin reistallation?
Maybe you can describe me more. I'm a newbie in serendipity system.
About the configuration panel, i dont know what do you mean about that. In the installation process, i didnt change the path value. I use the default that serendipity's intallation chose.
Do you think i have to reinstall serendipity? What file that i have to up load again to begin reistallation?
Maybe you can describe me more. I'm a newbie in serendipity system.
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Okay, so if you're absolutely sure that templates_c is something like chmod 777, then it should be a path setting within the serendipty config that is not right.
You shouldn't have to reinstall serendipity; go to your blog by directly accessing "serendipity_admin.php", there you can login and go to "Configuration". Then tell me what you've entered there within the "Path settings.
Depending on your setup and if you're using symbolic links or Windows, the s9y autodetection of paths might not always be correct.
Best regards,
Garvin
You shouldn't have to reinstall serendipity; go to your blog by directly accessing "serendipity_admin.php", there you can login and go to "Configuration". Then tell me what you've entered there within the "Path settings.
Depending on your setup and if you're using symbolic links or Windows, the s9y autodetection of paths might not always be correct.
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/
-
the path setting
this actually the settings
---------------------------------------------------------------------------
Full path : /home/leksa/domains/leksanadra.com/public_html/
Upload path : uploads/
Relative path : /
Relative template path : templates/
Relative upload path : uploads/
URL to blog : http://www.leksanadra.com/
Autodetect used HTTP-Host : No
Index file : index.php
-----------------------------------------------------------------------
The blogs still down rigth now..
---------------------------------------------------------------------------
Full path : /home/leksa/domains/leksanadra.com/public_html/
Upload path : uploads/
Relative path : /
Relative template path : templates/
Relative upload path : uploads/
URL to blog : http://www.leksanadra.com/
Autodetect used HTTP-Host : No
Index file : index.php
-----------------------------------------------------------------------
The blogs still down rigth now..
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Can you please execute this piece of PHP within your serendpity directory:
Save it as "recurse.php" or so and call it in your borwser. Either some file permissions are wrong, or you didn't copy some files that serendipity requires...this output will help me tell you what's missing.
Regards,
Garvin
Code: Select all
<?php
function recurse($dir, $i = 0) {
$h = opendir($dir);
while (($file = readdir($h)) !== false) {
if ($file{0} == '.') {
continue;
}
$perm = substr(sprintf('%o', fileperms($dir . '/' . $file)), -4);
$is_dir = is_dir($dir . '/' . $file);
$pad = str_repeat(' ', $i);
echo $pad . ($is_dir ? '[D] ' : '') . "$dir/$file\n<br />$pad [$perm] [" . fileowner($dir . '/' . $file) . "]\n<br />";
if ($is_dir) {
recurse($dir . '/' . $file, $i+1);
}
}
}
recurse('.');
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/
-
leksanadra
recurse file
i cant post the code here..If i submit the post, it didn't post anything except the "subject"
So, i decide to give the URL, i hope you can help me..
http://leksanadra.com/recurse.php
Thank you so much...

So, i decide to give the URL, i hope you can help me..
http://leksanadra.com/recurse.php
Thank you so much...
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: recurse file
Can it be that your Webserver has the "Safe Mode" functionality activated?
If yes, you must make the "templates_c" directory so that it has the same owner like your PHP user. That might be harder to do, so first delete it via FTP and then save this code as "create.php":
and call it in your borwser; then templates_c should have the owner of your webserver...
HTH,
Garvin
If yes, you must make the "templates_c" directory so that it has the same owner like your PHP user. That might be harder to do, so first delete it via FTP and then save this code as "create.php":
Code: Select all
<?php
mkdir('templates_c');
chmod('templates_c', 0777);
?>
HTH,
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/
-
leksanadra
folder added
Thank you for your script. This sucsesfully create folder template_c.
But, the site still unworked. Thats i miss something? How about if i reinstall serendipty?
thank you for you attention
But, the site still unworked. Thats i miss something? How about if i reinstall serendipty?
thank you for you attention
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: folder added
Phew, I'm at a loss of your problem, i've never seen that. I might think now that maybe some Smarty files are missing and did not get copied to your installation? Maybe just unpack a fresh serendipity install file over your current installation - just replace all files that are already there. You won't need to reinstall then, but have all the fresh files.
If that doesn't work, I'm afraid I can only help you further if you'd give me a FTP access to your blog site, then I could have a look what's happening...
Best regards,
Garvin
If that doesn't work, I'm afraid I can only help you further if you'd give me a FTP access to your blog site, then I could have a look what's happening...
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/