Page 1 of 1

Some issues after upgrading to 0.8

Posted: Thu May 12, 2005 12:27 am
by Roaster
Hi,

I've upgraded from a beta version before 0.8, I guess it was 0.8 beta 5 on my local installation.
Afterwards I've uploaded all files to the ftp location but did not recognize that I've overwritten the file serendipity_config_local.inc.php and some more of course which seems to be unique on my local installation.

After calling the website again I got some errors about some missing SQL permissions. I edited serendipity_config_local.inc.php to get access to the welcome page of the upgrade process which ran more or less well.

But when accessing my website again http://www.golffisch.de I only see the CSS file instead of the index.php.

I guess this has to be something with any missing permissions, right - however I could not figure out it yet.

When using the administration page and trying to save the changed settings I get these errors:
Warning: fopen(/is/htdocs/60841/www.thisworx.de/blog/serendipity_config_local.inc.php): failed to open stream: Permission denied in /is/htdocs/60841/www.thisworx.de/blog/include/functions_ ... er.inc.php on line 36
Bei der Einrichtung der Installation traten einige Fehler auf:- Datei serendipity_config_local.inc.php kann nicht geschrieben werden.
-> führen Sie chown -R www:www /is/htdocs/60841/www.thisworx.de/blog/ aus! (Ersetzen Sie 'www' mit dem User, als der der Webserver läuft. (z.B. 'nobody'))
-> führen Sie chmod 770 /is/htdocs/60841/www.thisworx.de/blog/ aus!
Danach aktualisieren Sie bitte diese Seite im Browser
I do not know what to do with these instructions since I cannot use the CHOWN command without access to the server. I can only use e.g. SmartFTP.

Perhaps you someone could point me into the right direction(s)?

Thx,
Roaster

Re: Some issues after upgrading to 0.8

Posted: Thu May 12, 2005 3:08 pm
by garvinhicking
You can also change permissions with FTP, look at your FTP client and set permissions to 777 for the config file, that should help.

Regards,
Garvin

Posted: Thu May 12, 2005 8:25 pm
by Roaster
@garvinhicking,

yes, I know, however the help text reads that I should CHOWN the installation direcctory on the server. This is not possible AFAIK - at least not when using SmartFTP.

BTW the installation directory, as mentioned in the text, has already got CHMOD 777. IMO the .htaccess file is the problem.

The installation directory has got ownership ftpxyz as user and ftponly as group but the .htaccess file is owned by nobody as owner *and* group. I think this is not correct.

cu,
Roaster

Posted: Thu May 12, 2005 9:30 pm
by Roaster
Hi,

I've tested some more things. After renaming the .htaccess file in the blog directory, the content is as below, all runs well!
This means that using this .htaccess file causes some troubles(?)
# BEGIN s9y
ErrorDocument 404 /serendipity/index.php
DirectoryIndex /serendipity/index.php
php_value session.use_trans_sid 0
php_value register_globals off

<Files *.tpl>
deny from all
</Files>

<Files *.sql>
deny from all
</Files>

<Files *.inc.php>
deny from all
</Files>

<Files *.db>
deny from all
</Files>

# END s9y
It may be that the admin has no access to this file to change the
/serendipity/index.php
into
/blog/index.php
?

I put this into a question since I cannot confirm my assumption. Perhaps someone could comment on this?

My problem still exists: the .htaccess file has got chmod 666 and I cannot change this!

cu,
Roaster

Solved!

Posted: Thu May 12, 2005 10:03 pm
by Roaster
Hi again,

I've changed the .htaccess file as below and all runs well again. Thanks for reading and supporting!
# BEGIN s9y
ErrorDocument 404 index.php
DirectoryIndex index.php
php_value session.use_trans_sid 0
php_value register_globals off

<Files *.tpl>
deny from all
</Files>

<Files *.sql>
deny from all
</Files>

<Files *.inc.php>
deny from all
</Files>

<Files *.db>
deny from all
</Files>

# END s9y