Diferior CMS on steroids
+21789 / 8882700 ( online 32 )

Error login, cache, cron


Forum posts: 23
hansmaxwell (Member) @ 09 04 28 - 15:50:42
The site I worked flawlessly about 14 days. Now displays error: touch () [function.touch]: Utime failed: Permission denied (# 2) in / functions / user.php on line 609

If you delete the files in the temp / cache will work for a while. Once I log in to your account, the error again.

Could you advise me what is it?
Avatar
Blog posts: 12
Added downloads: 2
Comments: 18
Forum posts: 573
UnrealX (Lead code monkey) @ 09 04 28 - 16:31:06
Chmod temp/* (including all subfolders) to 0777.
You can do this via ssh or telnet like so:
chmod -R 0777 /path/to/diferior/temp
Forum posts: 23
hansmaxwell (Member) @ 09 04 28 - 18:48:23
All in the Temp subfolder I set for 777th But the problem persists. If you want to subscribe to the account out to this report:

touch () [function.touch]: Utime failed: Permission denied (# 2) in / functions / user.php on line 609

Then, this report shows will not always be until cookies from your browser. Log in, however I can.
Forum posts: 23
hansmaxwell (Member) @ 09 04 28 - 20:36:30
Now this report:
fopen (/ temp/cache/cache_c21f969b5f03d33d43e04f8f136e7682_d57ac45256849d9b13e2422d91580f b9) [function.fopen]: failed to open stream: Permission denied (# 2) in / functions / pear / Cache / Lite.php on line 764

If you delete the temp/cache, the reporting time will disappear.

Please help
Avatar
Blog posts: 12
Added downloads: 2
Comments: 18
Forum posts: 573
UnrealX (Lead code monkey) @ 09 04 29 - 12:21:51
This is an issue beyond diferior, for some reason diferior cannot access the files due to filesystem permissions.
Forum posts: 23
hansmaxwell (Member) @ 09 04 29 - 15:49:33 (edited 09 04 30 - 00:52:10)
The error was about .htaccess. As regards the attributes I can use instead of 777 rather 770?
Exist somewhere a list of files with the right attributes?

Thank you for your help :) :) :)
Forum posts: 23
hansmaxwell (Member) @ 09 04 30 - 16:45:44
Yet it does not work. After some time appear error:

touch () [function.touch]: Utime failed: Permission denied (# 2) in / functions / cron.php on line 64

Would you please advise a solution?
Thank you
Avatar
Blog posts: 12
Added downloads: 2
Comments: 18
Forum posts: 573
UnrealX (Lead code monkey) @ 09 04 30 - 17:22:16
It's the same error - script can't access a file in diferior's temp directory.
Forum posts: 23
hansmaxwell (Member) @ 09 05 01 - 17:23:35 (edited 09 05 03 - 09:56:20)
Error after a while always reappear. I need to delete temp / cron-kill and then to work again.
I am helpless.

Would you please publish a list of files and directories, which must be 0777 or other attributes?
Forum posts: 23
hansmaxwell (Member) @ 09 05 04 - 23:49:06
I still errors in the log. When users log on, it shows error
mkdir() [function.mkdir]: Permission denied (#2) in /functions/user.php on line 597

Then I have to delete cookies from your browser that the page worked. Sign in I can only to some accounts.

After the user logs off, the user still shows in a while online. But it is not present.
Avatar
Blog posts: 12
Added downloads: 2
Comments: 18
Forum posts: 573
UnrealX (Lead code monkey) @ 09 05 05 - 17:44:49
It's an issue with filesystem/httpd/php

Here's a chunk of code that will help identify directories that need to be chmodded:
$check = array ( DIR .'/conf.php', DIR .'/install/lock', DIR_FUNCTIONS .'/pear', DIR_NFO, DIR .'/'. DIR_POSTS, TMP, CACHE_DIR, SMARTY_COMPILE_DIR, TMP .'/online', SESS_DIR, TMP .'/userinfo', DIR_TORRENT, CACHE_STATIC_DIR, );

Constants are described in conf.php
Forum posts: 23
hansmaxwell (Member) @ 09 05 06 - 00:32:26
If you delete the folders and files in temp / userinfo then users can log in to your account (files in the directory again). After some time user accounts no longer work.

It also appears in my Temp file cron-kill, if he is not writable, the script does not work at all.

It is a way you can help with the repair, or reinstall the script so as to maintain the data?

Repair is probably beyond my abilities, I appreciate your support, but begin to regret the time spent at work, and over the script. :( :( :( :(
Avatar
Blog posts: 12
Added downloads: 2
Comments: 18
Forum posts: 573
UnrealX (Lead code monkey) @ 09 05 06 - 12:29:19
Just chmod the temp directory recursively:
chmod -R 0777 temp
Forum posts: 23
hansmaxwell (Member) @ 09 05 07 - 01:41:54
I think it will be an error in the hosting. Transferred the site to a new server. Then the script stopped working altogether. Introduced minor adjustments in the files function / blog, cron, counters. I turned on System cron, user cache 300 If the user cache increase, and extend the length of the script works correctly. The cron-kill must attribute the 0777. If you enable the integrated PHP cron, is loaded with the server slows to all pages on the server.
When you run cron can not be logged. I then have to delete the folder in the temp / userinfo and cookies from your browser. Then the moment I logged.

I installed Diferior again to another folder. To start I have to use a modified 3 files from the Function folder. The final result is the same. After the expiry of the cache 300, the user can not log on.

Do you have advice please?
Avatar
Blog posts: 12
Added downloads: 2
Comments: 18
Forum posts: 573
UnrealX (Lead code monkey) @ 09 05 07 - 11:34:52
What's your os, httpd and php version?
Forum posts: 23
hansmaxwell (Member) @ 09 05 07 - 14:43:59 (edited 09 05 07 - 19:49:16)
HTTP Headers for booster.cz
HTTP/1.1 200 OK
Date: Thu, 07 May 2009 13:42:58 GMT
Server: Apache/2.2.9 (Ubuntu) PHP/5.2.6-2ubuntu4.2 with Suhosin-Patch
X-Powered-By: PHP/5.2.6-2ubuntu4.2
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate
Pragma: no-cache
Set-Cookie: sessid=61f6f2909ef550bb2516c9be3c3a9917; expires=Sat, 09-May-2009 13:42:58 GMT; path=/; domain=.booster.cz
Connection: close
Content-Type: text/html; charset=utf-8

PHP ini: http://booster.cz/phpini.php
Avatar
Blog posts: 12
Added downloads: 2
Comments: 18
Forum posts: 573
UnrealX (Lead code monkey) @ 09 05 08 - 12:14:32
Do you have telnet or ssh access to the server? This is happening in a shared hosting environment, right?
Forum posts: 23
hansmaxwell (Member) @ 09 05 09 - 09:02:19
ssh or telnet access to the server is not possible. This is a shared hosting.
Forum posts: 23
hansmaxwell (Member) @ 09 05 12 - 11:23:14
function cron refuses to set the correct permissions for the directory / temp / online
/ temp/cron- * / temp / queue.

We used a script that is run our cron in 5min intervals.
This script in these intervals
amending the right of the Diferior.

/ functions / cron.php is what a lot of 10min at each visit.

Now all around okay. :) :) :)
Comments: 58
Forum posts: 378
ivy00135 (Immortal) @ 11 11 07 - 10:35:20
高雄酒店經紀酒店經紀高雄便服酒店高雄酒店高雄新富爺101酒店酒店經紀公司高雄酒店酒店上班台中酒店台北酒店經紀公司酒店經紀星座運勢2012星座配對2012牡羊座2012年星座運勢金牛座2012年星座運勢雙子座2012年星座運勢巨蟹座2012年星座運勢獅子座2012年星座運勢處女座2012年星座運勢天秤座2012年星座運勢天蠍座2012年星座運勢射手座2012年星座運勢魔羯座2012年星座運勢水瓶座2012年星座運勢雙魚座2012年星座運勢高雄酒店高雄酒店經紀高雄酒店經紀人高雄酒店經紀公司高雄酒店經紀人高雄酒店經紀傳播公司高雄酒店經紀公司高雄酒店經紀高雄酒店經紀高雄酒店經紀高雄酒店經紀高雄酒店經紀高雄酒店經紀高雄酒店經紀台南酒店經紀台南酒店經紀高雄酒店經紀高雄新富爺101酒店,便服酒店酒店經紀,制服酒店,酒店上班,高雄酒店經紀,高雄酒店,酒店經紀,酒店上班,高雄酒店經紀,高雄新富爺101酒店,高雄凱撒帝苑酒店,高雄威尼斯酒店,高雄香格里拉酒店,台北酒店,台中酒店,ktv酒店,高雄酒店經紀,傳播公司,高雄酒店經紀,經紀公司,高雄酒店經紀,便服酒店,高雄酒店經紀,台南酒店,台南酒店經紀,高雄酒店經紀高雄酒店經紀酒店工作知識庫酒店工作應該怎麼找?你確定要去酒店上班了嗎?酒店經紀人可以幫妳做什麼?酒店經紀人的出現有關酒店經紀人方面的問題做酒店是要找酒店經紀人?應徵酒店問答篇便服店跟制服店哪個比較適合我呢?酒店職務解說之「酒店小姐」酒店經紀小姐12個問答題酒店上班要先花很多治裝費?做酒店都要長的像明星?酒店上班注意事項酒店經紀跟酒店傳播?酒店職務解說~女少爺篇酒店上班、暑期打工為什麼要選擇來高雄?給想做酒店這行的男生酒店短期兼差工作?酒店工作要簽約?酒店小姐須知—製造感覺篇如何應付「澳洲來的客人」?身段要軟、手腕要好!十個妙招讓你不容易喝醉酒店應對技巧酒店的手腕?酒店上班注意事項酒店訪檯幹部訪檯幹部如何培訓?酒店上班寒假打工暑期打工在酒店上的不好?酒店工作需要什麼條件?龍亨酒店飯局小姐高雄酒店一覽台北酒店一覽龍亨酒店
« Previous 1-20 21-40 Next »