Link to blog isn't working
Link to blog isn't working
Hi,
I moved the blog from another host to the new one, using the instructions provided. The url to the admin panel is working and looks like everything is in order however when I try to link to the blog's home page I get a blank page.
I'm using an IP address as I need to make sure everything is working before I point the DNS to the new host. I have the blog in a folder called blog and the home page is index.php so I assume it should look like this:
http://IPADDRESSGOESHERE/blog/index.php
Is it because of the IP address that it's not working or....?
I moved the blog from another host to the new one, using the instructions provided. The url to the admin panel is working and looks like everything is in order however when I try to link to the blog's home page I get a blank page.
I'm using an IP address as I need to make sure everything is working before I point the DNS to the new host. I have the blog in a folder called blog and the home page is index.php so I assume it should look like this:
http://IPADDRESSGOESHERE/blog/index.php
Is it because of the IP address that it's not working or....?
-
- Regular
- Posts: 196
- Joined: Sun May 11, 2008 2:53 am
- Contact:
Re: Link to blog isn't working
Check your Configuration settings in the Paths section.
If you set the "Autodetect used HTTP-Host" to yes this will allow you to access by IP.
If you set the "Autodetect used HTTP-Host" to yes this will allow you to access by IP.
Steve is occasionally blogging here
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Link to blog isn't working
Hi!
BTW, the better way to prepare for this is NOT to use the IP-Adress of the server, but actually edit your /etc/hosts file (Unix/Mac OS) or c:/windows/system32/drivers/etc/hosts so that you alias the new hostname to a new IP.
Some browsers do not accept HTTP cookies when using an IP address.
A blank page, BTW, usually means that a fatal PHP error occurs and you should lookup the PHP and Apache error logs, possible even edit php.ini / .htaccess to turn display_errors On.
HTH
Garvin
BTW, the better way to prepare for this is NOT to use the IP-Adress of the server, but actually edit your /etc/hosts file (Unix/Mac OS) or c:/windows/system32/drivers/etc/hosts so that you alias the new hostname to a new IP.
Some browsers do not accept HTTP cookies when using an IP address.
A blank page, BTW, usually means that a fatal PHP error occurs and you should lookup the PHP and Apache error logs, possible even edit php.ini / .htaccess to turn display_errors On.
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/
Re: Link to blog isn't working
Hi Garvin,
I found out the host has changed their protocol for viewing the site before dns is changed to this:
domain.com.domainpreview.net but that didn't work either.
Would that cause the same problems as using an IP?
I'm not a programer but do write HTML by hand and sort of understand the code (only took one quarter of programming in college), and I have briefly worked with php, but I can't figure out how to do as you suggested. I had to add some code to a comment script recently to show errors. Is there a bit of code I need to add somewhere?
Where do I find the php errors?
PS. I'm using a mac. I work via ftp usually and familiar with htaccess but need the exact line to add.
BTW, I didn't receive a notice for either of your posts so glad I logged in.
I found out the host has changed their protocol for viewing the site before dns is changed to this:
domain.com.domainpreview.net but that didn't work either.
Would that cause the same problems as using an IP?
I'm not a programer but do write HTML by hand and sort of understand the code (only took one quarter of programming in college), and I have briefly worked with php, but I can't figure out how to do as you suggested. I had to add some code to a comment script recently to show errors. Is there a bit of code I need to add somewhere?
Where do I find the php errors?
PS. I'm using a mac. I work via ftp usually and familiar with htaccess but need the exact line to add.
BTW, I didn't receive a notice for either of your posts so glad I logged in.
Re: Link to blog isn't working
I found the php5_error_log
Here are the errors from when I attempted to bring up the blog's home page this morning:
[13-May-2011 14:18:58] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/healthy1/public_html/blog/index.php:3) in /home/healthy1/public_html/blog/index.php on line 22
[13-May-2011 14:18:58] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/healthy1/public_html/blog/index.php:3) in /home/healthy1/public_html/blog/index.php on line 23
[13-May-2011 14:18:58] PHP Deprecated: Assigning the return value of new by reference is deprecated in /home/healthy1/public_html/blog/include/plugin_api.inc.php on line 560
[13-May-2011 14:18:58] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/healthy1/public_html/blog/index.php:3) in /home/healthy1/public_html/blog/index.php on line 28
[13-May-2011 14:18:58] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/healthy1/public_html/blog/index.php:3) in /home/healthy1/public_html/blog/index.php on line 31
[13-May-2011 14:18:58] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/healthy1/public_html/blog/index.php:3) in /home/healthy1/public_html/blog/index.php on line 38
[13-May-2011 14:18:58] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/healthy1/public_html/blog/index.php:3) in /home/healthy1/public_html/blog/index.php on line 40
[13-May-2011 14:18:58] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/healthy1/public_html/blog/index.php:3) in /home/healthy1/public_html/blog/index.php on line 41
[13-May-2011 14:18:58] PHP Warning: Smarty error: unable to read resource: "file:entries.tpl" in /home/healthy1/public_html/blog/bundled-libs/Smarty/libs/Smarty.class.php on line 1092
[13-May-2011 14:18:58] PHP Warning: Smarty error: unable to read resource: "file:content.tpl" in /home/healthy1/public_html/blog/bundled-libs/Smarty/libs/Smarty.class.php on line 1092
[13-May-2011 14:18:58] PHP Warning: Smarty error: unable to read resource: "404.tpl" in /home/healthy1/public_html/blog/bundled-libs/Smarty/libs/Smarty.class.php on line 1092
Here are the errors from when I attempted to bring up the blog's home page this morning:
[13-May-2011 14:18:58] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/healthy1/public_html/blog/index.php:3) in /home/healthy1/public_html/blog/index.php on line 22
[13-May-2011 14:18:58] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/healthy1/public_html/blog/index.php:3) in /home/healthy1/public_html/blog/index.php on line 23
[13-May-2011 14:18:58] PHP Deprecated: Assigning the return value of new by reference is deprecated in /home/healthy1/public_html/blog/include/plugin_api.inc.php on line 560
[13-May-2011 14:18:58] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/healthy1/public_html/blog/index.php:3) in /home/healthy1/public_html/blog/index.php on line 28
[13-May-2011 14:18:58] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/healthy1/public_html/blog/index.php:3) in /home/healthy1/public_html/blog/index.php on line 31
[13-May-2011 14:18:58] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/healthy1/public_html/blog/index.php:3) in /home/healthy1/public_html/blog/index.php on line 38
[13-May-2011 14:18:58] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/healthy1/public_html/blog/index.php:3) in /home/healthy1/public_html/blog/index.php on line 40
[13-May-2011 14:18:58] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/healthy1/public_html/blog/index.php:3) in /home/healthy1/public_html/blog/index.php on line 41
[13-May-2011 14:18:58] PHP Warning: Smarty error: unable to read resource: "file:entries.tpl" in /home/healthy1/public_html/blog/bundled-libs/Smarty/libs/Smarty.class.php on line 1092
[13-May-2011 14:18:58] PHP Warning: Smarty error: unable to read resource: "file:content.tpl" in /home/healthy1/public_html/blog/bundled-libs/Smarty/libs/Smarty.class.php on line 1092
[13-May-2011 14:18:58] PHP Warning: Smarty error: unable to read resource: "404.tpl" in /home/healthy1/public_html/blog/bundled-libs/Smarty/libs/Smarty.class.php on line 1092
Re: Link to blog isn't working
Which Serendipity Version are u trying to install?
PHP 5.3.x needs a Serendipity Version upon Version 1.5.0. Best is 1.5.5 by now.
Did you gave write access CHMOD 775/777 to the templates_c dir?
PHP 5.3.x needs a Serendipity Version upon Version 1.5.0. Best is 1.5.5 by now.
Did you gave write access CHMOD 775/777 to the templates_c dir?
Regards,
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Re: Link to blog isn't working
It is this version:
Powered by Serendipity 1.4.1 and PHP 5.3.4
I followed the instructions on how to move the blog from one host to another and checked the permissions as indicated and yes the templates_c dir is 755.
Do I need to upload download 1.5.5? If so, what do I need to save so the old posts are intact and where do I go to download it?
Powered by Serendipity 1.4.1 and PHP 5.3.4
I followed the instructions on how to move the blog from one host to another and checked the permissions as indicated and yes the templates_c dir is 755.
Do I need to upload download 1.5.5? If so, what do I need to save so the old posts are intact and where do I go to download it?
Re: Link to blog isn't working
You definitely need 1.5.5. Download from here http://www.s9y.org/12.html and you don't need anything else. Just copy the new one over the old one. Maybe you should save a copy of your original database and your template before, but normally there is no need for it.Lorel wrote:Do I need to upload download 1.5.5? If so, what do I need to save so the old posts are intact and where do I go to download it?
If you still get these unable to read resource errors try with 777.
You need at least read access 700 to templates dir too (in case of using SPARTACUS you need more perms on some more dirs and files). Don't forget serendipity_config_local.inc.php and the .htaccess file, which need write access on installation issues.
Good luck
Regards,
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Re: Link to blog isn't working
I'm ready to download the new release but noticed the blog has a custom set up so it looks like the website (everything in the header is the same as the website). I didn't set it up originally so are there other files I need to save from the original, i.e., css and anything else?
Re: Link to blog isn't working
PS. can you tell me how to figure out which template was being used. I checked the list of templates but I can't tell which one was used.
Re: Link to blog isn't working
Just right click in your blog and choose view source code.
There, inside the header part, you can find your templates name like 'mytemplate'
eg. <link rel="stylesheet" type="text/css" href="/templates/mytemplate/some.css" />
There should not be more to backup your template folder, ... else there might be some custom files somewhere to integrate the blog into your website.
There, inside the header part, you can find your templates name like 'mytemplate'
eg. <link rel="stylesheet" type="text/css" href="/templates/mytemplate/some.css" />
There should not be more to backup your template folder, ... else there might be some custom files somewhere to integrate the blog into your website.
Regards,
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Re: Link to blog isn't working
sorry to keep bothering you with this but I don't want to loose any files then have to start from scratch.
The only css tag in the header is this one:
<link rel="stylesheet" type="text/css" href="http://www.domain.net/blog/index.php?/serendipity.css" />
It doesn't mention a template. Does this mean it was a custom install?
If so I assume I need to copy off the CSS file and whatever images used in the header. Is there anything else I need to copy off?
The only css tag in the header is this one:
<link rel="stylesheet" type="text/css" href="http://www.domain.net/blog/index.php?/serendipity.css" />
It doesn't mention a template. Does this mean it was a custom install?
If so I assume I need to copy off the CSS file and whatever images used in the header. Is there anything else I need to copy off?
Re: Link to blog isn't working
Do you eventually use RVSiteBuilder, GoDaddy or some other specific Provider Serendipity installations? In these cases you have to ask you provider.
Who else made your custom install included in your website? Someone to ask? It is very hard to say without having a look to it .
To your questions:
No it does not mean, it must be a custom install. Try and save a backup of templates/default and just proceed with upgrade. My magic ball says: I don't really think someone has customized other files. Normally it is failsafe to upgrade previous Serendipty versions.
Who else made your custom install included in your website? Someone to ask? It is very hard to say without having a look to it .
To your questions:
No it does not mean, it must be a custom install. Try and save a backup of templates/default and just proceed with upgrade. My magic ball says: I don't really think someone has customized other files. Normally it is failsafe to upgrade previous Serendipty versions.
Regards,
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Re: Link to blog isn't working
Thanks for your help. the upgrade went smoothly.
Re: Link to blog isn't working
Hi I'm back again. I'm sure I logged into the admin panel after it was installed but now when I try to login I can get in there. I printed out the config file with user names and passwords and tried everything I had on file, and also called the host and he couldn't figure out how to get or change the password either.
Can you tell me know to recall the admin login info?
Can you tell me know to recall the admin login info?