Welcome to Geeklog, Anonymous Wednesday, December 11 2024 @ 02:34 pm EST
Geeklog Forums
SQL error: permission denied
arturs
Anonymous
howdy,
i am trying to install geeklog 1.4 for the first time.
installation is not system wide, it's a site on hosting server (mine, so i have root).
when i run check.php it produces an error:
---start---
Warning: fopen(/home/sites/site6/users/wmsite6/web/logs/error.log) [function.fopen]: failed to open stream: Permission denied in /home/sites/site6/web/lib-common.php on line 1702
An SQL error has occurred. Please see error.log for details.
---end---
wmsite6 is site admin. permissions in /home/sites/site6/users/wmsite6/web/ are:
---start---
drwxrwsr-x 9 wmsite6 site6 1.0k May 19 17:02 .
drwxrws--x 3 wmsite6 site6 1.0k May 19 16:42 ..
drwxrwxr-x 2 wmsite6 site6 1.0k May 19 16:40 backups
-rw-r--r-- 1 wmsite6 site6 40k May 19 23:33 config.php
drwxrwxr-x 2 wmsite6 site6 1.0k May 19 16:44 data
-rwxr-xr-x 1 wmsite6 site6 509 May 19 17:02 emailgeeklogstories
drwxr-xr-x 2 wmsite6 site6 2.0k May 19 17:02 language
drwxrwxr-x 2 wmsite6 site6 1.0k May 19 16:44 logs
drwxr-xr-x 6 wmsite6 site6 1.0k May 19 17:02 plugins
drwxr-xr-x 3 wmsite6 site6 1.0k May 19 17:02 sql
drwxr-xr-x 6 wmsite6 site6 1.0k May 19 17:02 system
---end---
pemissions in /home/sites/site6/web/ are:
---start---
drwxrwsr-x 13 nobody site6 1.0k May 18 00:57 .
drwxrwsr-x 6 nobody site6 1.0k May 10 00:01 ..
-rw-r--r-- 1 wmsite6 site6 3.0k May 18 00:57 404.php
drwxr-xr-x 4 wmsite6 site6 1.0k May 18 00:57 admin
-rw-r--r-- 1 wmsite6 site6 14k May 18 00:57 article.php
drwxrwxr-x 2 wmsite6 site6 1.0k May 18 00:57 backend
-rw-r--r-- 1 wmsite6 site6 32k May 18 00:57 calendar_event.php
-rw-r--r-- 1 wmsite6 site6 42k May 18 00:57 calendar.php
-rw-r--r-- 1 wmsite6 site6 13k May 18 00:57 comment.php
-rw-r--r-- 1 wmsite6 site6 15k May 18 00:57 directory.php
drwxr-xr-x 3 wmsite6 site6 1.0k May 18 00:57 docs
drwxr-xr-x 3 wmsite6 site6 1.0k May 18 00:57 fckeditor
-rw-r--r-- 1 wmsite6 site6 4.5k May 18 00:57 getimage.php
drwxr-xr-x 2 wmsite6 site6 1.0k May 18 00:57 help
drwxr-xr-x 9 wmsite6 site6 1.0k May 18 00:57 images
-rw-r--r-- 1 wmsite6 site6 9.4k May 18 00:57 index.php
drwxr-xr-x 2 wmsite6 site6 1.0k May 18 00:57 javascript
drwxr-xr-x 3 wmsite6 site6 1.0k May 18 00:57 layout
-rw-r--r-- 1 wmsite6 site6 168k May 19 17:04 lib-common.php
drwxr-xr-x 3 wmsite6 site6 1.0k May 18 00:57 links
-rw-r--r-- 1 wmsite6 site6 10k May 18 00:57 pingback.php
drwxr-xr-x 3 wmsite6 site6 1.0k May 18 00:57 polls
-rw-r--r-- 1 wmsite6 site6 3.1k May 18 00:57 portal.php
-rw-r--r-- 1 wmsite6 site6 19k May 18 00:57 profiles.php
-rw-r--r-- 1 wmsite6 site6 124 May 18 00:57 robots.txt
-rw-r--r-- 1 wmsite6 site6 2.8k May 18 00:57 search.php
drwxr-xr-x 3 wmsite6 site6 1.0k May 18 00:57 staticpages
-rw-r--r-- 1 wmsite6 site6 12k May 18 00:57 stats.php
-rw-r--r-- 1 wmsite6 site6 36k May 18 00:57 submit.php
-rw-r--r-- 1 wmsite6 site6 4.1k May 18 00:57 trackback.php
-rw-r--r-- 1 wmsite6 site6 47k May 18 00:57 usersettings.php
-rw-r--r-- 1 wmsite6 site6 39k May 18 00:57 users.php
---end---
all my sites are owned by $admin:$site, where $admin=site administrator, and $site=corresponding site. those are default working permissions and they work OK for other sites.
after checking lib-common.php i suspected i need to set different permissions on non-public dirs/files of geeklog, don't i?
i need your help in setting correct permissions.
hope the question is clear.
thank you.
arturs
i am trying to install geeklog 1.4 for the first time.
installation is not system wide, it's a site on hosting server (mine, so i have root).
when i run check.php it produces an error:
---start---
Warning: fopen(/home/sites/site6/users/wmsite6/web/logs/error.log) [function.fopen]: failed to open stream: Permission denied in /home/sites/site6/web/lib-common.php on line 1702
An SQL error has occurred. Please see error.log for details.
---end---
wmsite6 is site admin. permissions in /home/sites/site6/users/wmsite6/web/ are:
---start---
drwxrwsr-x 9 wmsite6 site6 1.0k May 19 17:02 .
drwxrws--x 3 wmsite6 site6 1.0k May 19 16:42 ..
drwxrwxr-x 2 wmsite6 site6 1.0k May 19 16:40 backups
-rw-r--r-- 1 wmsite6 site6 40k May 19 23:33 config.php
drwxrwxr-x 2 wmsite6 site6 1.0k May 19 16:44 data
-rwxr-xr-x 1 wmsite6 site6 509 May 19 17:02 emailgeeklogstories
drwxr-xr-x 2 wmsite6 site6 2.0k May 19 17:02 language
drwxrwxr-x 2 wmsite6 site6 1.0k May 19 16:44 logs
drwxr-xr-x 6 wmsite6 site6 1.0k May 19 17:02 plugins
drwxr-xr-x 3 wmsite6 site6 1.0k May 19 17:02 sql
drwxr-xr-x 6 wmsite6 site6 1.0k May 19 17:02 system
---end---
pemissions in /home/sites/site6/web/ are:
---start---
drwxrwsr-x 13 nobody site6 1.0k May 18 00:57 .
drwxrwsr-x 6 nobody site6 1.0k May 10 00:01 ..
-rw-r--r-- 1 wmsite6 site6 3.0k May 18 00:57 404.php
drwxr-xr-x 4 wmsite6 site6 1.0k May 18 00:57 admin
-rw-r--r-- 1 wmsite6 site6 14k May 18 00:57 article.php
drwxrwxr-x 2 wmsite6 site6 1.0k May 18 00:57 backend
-rw-r--r-- 1 wmsite6 site6 32k May 18 00:57 calendar_event.php
-rw-r--r-- 1 wmsite6 site6 42k May 18 00:57 calendar.php
-rw-r--r-- 1 wmsite6 site6 13k May 18 00:57 comment.php
-rw-r--r-- 1 wmsite6 site6 15k May 18 00:57 directory.php
drwxr-xr-x 3 wmsite6 site6 1.0k May 18 00:57 docs
drwxr-xr-x 3 wmsite6 site6 1.0k May 18 00:57 fckeditor
-rw-r--r-- 1 wmsite6 site6 4.5k May 18 00:57 getimage.php
drwxr-xr-x 2 wmsite6 site6 1.0k May 18 00:57 help
drwxr-xr-x 9 wmsite6 site6 1.0k May 18 00:57 images
-rw-r--r-- 1 wmsite6 site6 9.4k May 18 00:57 index.php
drwxr-xr-x 2 wmsite6 site6 1.0k May 18 00:57 javascript
drwxr-xr-x 3 wmsite6 site6 1.0k May 18 00:57 layout
-rw-r--r-- 1 wmsite6 site6 168k May 19 17:04 lib-common.php
drwxr-xr-x 3 wmsite6 site6 1.0k May 18 00:57 links
-rw-r--r-- 1 wmsite6 site6 10k May 18 00:57 pingback.php
drwxr-xr-x 3 wmsite6 site6 1.0k May 18 00:57 polls
-rw-r--r-- 1 wmsite6 site6 3.1k May 18 00:57 portal.php
-rw-r--r-- 1 wmsite6 site6 19k May 18 00:57 profiles.php
-rw-r--r-- 1 wmsite6 site6 124 May 18 00:57 robots.txt
-rw-r--r-- 1 wmsite6 site6 2.8k May 18 00:57 search.php
drwxr-xr-x 3 wmsite6 site6 1.0k May 18 00:57 staticpages
-rw-r--r-- 1 wmsite6 site6 12k May 18 00:57 stats.php
-rw-r--r-- 1 wmsite6 site6 36k May 18 00:57 submit.php
-rw-r--r-- 1 wmsite6 site6 4.1k May 18 00:57 trackback.php
-rw-r--r-- 1 wmsite6 site6 47k May 18 00:57 usersettings.php
-rw-r--r-- 1 wmsite6 site6 39k May 18 00:57 users.php
---end---
all my sites are owned by $admin:$site, where $admin=site administrator, and $site=corresponding site. those are default working permissions and they work OK for other sites.
after checking lib-common.php i suspected i need to set different permissions on non-public dirs/files of geeklog, don't i?
i need your help in setting correct permissions.
hope the question is clear.
thank you.
arturs
13
13
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
http://www.geeklog.net/docs/install.html#permission-denied
You probably didn't set the permissions on the actual .log files.
bye, Dirk
You probably didn't set the permissions on the actual .log files.
bye, Dirk
13
13
Quote
All times are EST. The time is now 02:34 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content