Page 1 of 1

Moving to other server problem and theme problem

Posted: Thu Dec 27, 2007 5:22 pm
by goldietrickz
phpinfo of my new server:
http://sardinia.globat.com/phpinfo.php

i moved sql dump, changed config.inc.local file... did everything and the only thing i keep on getting now is blank page or internal server error:

http://sardinia.globat.com/~snowbrod.com/serendipity/

my config file:

$serendipity['versionInstalled'] = '0.8.4';
$serendipity['dbName'] = 'serendipity';
$serendipity['dbPrefix'] = 'serendipity_';
$serendipity['dbHost'] = 'sardinia.globat.com';
$serendipity['dbUser'] = 'username';
$serendipity['dbPass'] = 'password';
$serendipity['dbType'] = 'mysql';
$serendipity['dbPersistent'] = false;
$serendipity['dbCharset'] = 'latin1';

this is the the page im trying to move to that new server:
http://www.snowbrod.com/serendipity

i know it something server related, but i cant figure out what.
i did everything by the book.
.htaccess files not allowed by my host so they will delete it. i suppose that file is reason why i keep getting internal server error on index.php page...

why im getting blank page?

some data from config:

('serendipityPath', '/usr/local/psa/home/vhosts/snowbrod.com/httpdocs/serendipity/', 0);
baseURL', 'http://sardinia.globat.com/~snowbrod.com/serendipity/

Re: Moving to other server problem

Posted: Thu Dec 27, 2007 5:28 pm
by garvinhicking
Hi!

That error comes directly from your provider. s9y requires some files to be writable, in your case you must ask the provider what privileges are required so that PHP can write to that directory.

To get it started, you might want to CHMOD your directory to something like 755 instead of 777 to get to see more of s9y.

One of the first things you should do after the server move works is to update serendipity. 0.8.4 is VERY old and has some security concerns.

If .htaccess is forbidden, you will need to set serendipity to use no URL Rewriting in the configuration, once you can login to the backend again.

Regards,
Garvin

Posted: Thu Dec 27, 2007 5:35 pm
by goldietrickz
thanks alot...

this is what the person from my new provider replied after my question:

"Upon checking on the folder serendipity, there is an .htaccess file. It disabled the register_globals command. This command is enabled in the server. I have renamed it to .htaccessold. Also the following is the list of commands that are not supported for security reasons:

Action
AddCharSet
AddEncoding
AddLanguage
AddType
BrowserMatch
BrowserMatchNoCase
CookieTracking
DefaultLanguage
DefaultType
ErrorDocument
ErrorHeader
Header
LanguagePriority
Options
PassEnv
Redirect
RedirectMatch
RedirectPermanent
RedirectTemporary
SetEnv
SetEnvIf
SetEnvIfNoCase
UnsetEnv

Also please use the chmod 755 for folders and 644 for files. We don't support 777 for security reasons. Also I suggest to please visit the following link for server info:"

i changed to 755 and im now getting blank page again...

upgrade is the first thing im going to do as soon as migration ends succesfully... :)

Posted: Thu Dec 27, 2007 6:29 pm
by goldietrickz
i dont think i will manage to migrate blog of mine successfully...

i have a question, it may sound stupid to you, but im pretty much desperate now...

can i install latest serendipity version and the later on populate database with my entries and new tables?

is it possible im getting blank page because i havent uploaded all the files (templates etc.) from my old server to new one?

Posted: Thu Dec 27, 2007 6:34 pm
by garvinhicking
Hi!

Okay, here's what you can do:

Delete the .htaccess file completely. When you later change s9y's configuration, you might need to delete the automatically re-generated .htaccess file again.

On your old server, you already had no URL rewriting enabled, so you don't need to change that.

The file serendipity_config_local.inc.php needs to have write privileges for the PHP process. Sinec 777 is not allowed by your provider, ask him, how the permissions must be so that the PHP script can write to that file. It is needed to be written when you change configuration values.

If I understood your provider right, you will not be able to use Spartacus, because directories seem to not be allowed to be writable for the PHP user.

When you get a blank page, this means a fatal PHP error happens. This can be because your templates_c directory is not writable. PHP needs to write to that directory to store temporary files. Please ask your provider to search the PHP error log for possible errors. I'm quite certain they are about missing write/read privileges.

Best regards,
Garvin

Posted: Thu Jan 10, 2008 1:30 am
by goldietrickz
horror! in the last 2 days. site is taking ages to open from firefox. some plugins not working. paths are corrupted.
for example link for the commentig misses one slash, and link for blog administration is ok.
check for yourself:
http://www.snowbrod.com/serendipity

if i try to opet the site from ie right columns dont show.
firefox show both but still corrupted http path.
maybe its something im doing wrong?

Posted: Thu Jan 10, 2008 1:31 am
by goldietrickz
look at the link for the comments...

http://www.snowbrod.com/serendipity/ser ... trackbacks

CRAZY

Posted: Thu Jan 10, 2008 2:22 am
by goldietrickz
ignore last two posts. :)

only problem left that i have is problem with templates not showing right column in ie. in firefox everything allright...