Elxis CMS Forum

Ελληνικό Forum => Διαχείριση => Topic started by: RogerK on January 20, 2013, 12:11:09

Title: Clean Cache -PHP Error
Post by: RogerK on January 20, 2013, 12:11:09
Χρησιμοποιώ το  Elxis v2009.1 με Static Cache ενεργοποιημένη.
Όταν κάνω Clean Cache λαμβάνω το ακόλουθο PHP Error [Warning]. Γιατί συμβαίνει αυτό; Είναι σοβαρό ; Είναι πρόβλημα του server ;
Εξετάζοντας το φακελο Cache με το ftp είδα ότι υπάρχει μεγάλο πλήθος αρχείων και φεκέλων. Μπορώ να τα διαγράψω άφοβα με το ftp;

Code: [Select]
PHP Error [Warning]
URI: index2.php?option=com_admin&task=tools&tname=clean_cache
Path: /includes/Core/filemanager.class.php
Line: 928
rmdir(/home/XXXX/public_html/XXXX/XXXX/cache/static/content/section/8/) [function.rmdir]: Directory not empty
PHP Error [Warning]
URI: index2.php?option=com_admin&task=tools&tname=clean_cache
Path: /includes/Core/filemanager.class.php
Line: 928
rmdir(/home/XXXX/public_html/XXXXX/XXXXX/cache/static/content/section/) [function.rmdir]: Directory not empty
PHP Error [Warning]
URI: index2.php?option=com_admin&task=tools&tname=clean_cache
Path: /includes/Core/filemanager.class.php
Line: 928
rmdir(/home/XXXX/public_html/XXXX/XXXX/cache/static/content/) [function.rmdir]: Directory not empty
PHP Error [Warning]
URI: index2.php?option=com_admin&task=tools&tname=clean_cache
Path: /includes/Core/filemanager.class.php
Line: 928
rmdir(/home/XXXX/public_html/XXXX/XXXX/cache/static/) [function.rmdir]: Directory not empty


V OK System cache (directory cache) has been cleaned from cached content items and images.
X static cache Static Cache
V simple pie rss Simplepie RSS
Title: Re: Clean Cache -PHP Error
Post by: RogerK on January 20, 2013, 12:19:12
Κάνοντας αναζήτηση στο forum διάβασα ότι μπορώ να διαγράψω τα περιεχόμενα του φακέλου cache μεσω ftp. Το έκανα και σταμάτησε να μου παρουσιάζει το PHP Error στο tool Clean Cache.
Οπότε το πρόβλημα λύθηκε.
Άραγε ποιο ήταν το πρόβλημα ;
Title: Re: Clean Cache -PHP Error
Post by: xmanhattan on January 20, 2013, 13:20:36
Permissions?  Ο φάκελος cache πρέπει να έχει δικαιώματα εγγραφής.
Ο κατάλογος cache/ θα πρέπει να έχει permissions 775.
Title: Re: Clean Cache -PHP Error
Post by: RogerK on January 20, 2013, 14:12:50
751  ???
Title: Re: Clean Cache -PHP Error
Post by: xmanhattan on January 20, 2013, 15:57:15
Η περισσοτεροι hosts τα εχουν 755 για φακελοι και 644 για αρχεια.  Δοκιμασε να το αλλαξεις μεσω του cpanel με το file explorer στον ιστοτοπος.
751 ειναι πιο περιοριστικός και αυτο μπορει να σου δημιουργει το προβλημα.
Title: Re: Clean Cache -PHP Error
Post by: RogerK on January 20, 2013, 16:14:28
Έβαλα 775
Ευχαριστώ.
Title: Re: Clean Cache -PHP Error
Post by: babis1 on January 20, 2013, 21:31:56
φακελοι cache και tmpr 777, ολοι οι αλλοι φακελοι 755 και ολα τα αρχεια 644
Title: Re: Clean Cache -PHP Error
Post by: webgift on January 21, 2013, 11:23:38
Σωστός ο Μπάμπης. Βεβαιώσου ότι έχεις και το αντίστοιχο αρχείο index.html μέσα στους φακέλους αυτούς.
Title: Re: Clean Cache -PHP Error
Post by: ArXoS on January 28, 2013, 23:00:01
xm, τελικά 777 ή 755 τα cache και tmpr ? Μπερδεύτηκα (Server API CGI)
Title: Re: Clean Cache -PHP Error
Post by: xmanhattan on January 29, 2013, 10:25:29
Συμφωνα με unix / linux 777 δινει προσβαση σε ολους.  775 ειναι το σωστο και η περισσοτεροι διακομιστες το εχουν ως δεδομενο.
http://linuxcommand.org/lts0070.php (http://linuxcommand.org/lts0070.php)