Elxis CMS Forum

Support => Technical support => Topic started by: motters on June 01, 2009, 21:02:15

Title: error on every pages load same error on each page [SLOVED] THANKS
Post by: motters on June 01, 2009, 21:02:15
hi

i get a error message on ever page this is what it says

PHP Error Message

Warning: require_once(/home/a3240366/public_html/language/english/english.php) [function.require-once]: failed to open stream: Permission denied in /home/a3240366/public_html/offline.php on line 34



PHP Error Message

Fatal error: require_once() [function.require]: Failed opening required '/home/a3240366/public_html/language/english/english.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/a3240366/public_html/offline.php on line 34



this is on every page i have tryed does anyone know why
Title: Re: error on every pages load same error on each page
Post by: Farhad Sakhaei on June 01, 2009, 21:37:43
How you upload your files ?
what are those files permissions?
They should be 644
Title: Re: error on every pages load same error on each page
Post by: motters on June 01, 2009, 21:39:25
which files?
Title: Re: error on every pages load same error on each page
Post by: datahell on June 01, 2009, 22:17:57
It seems that the english language does not exist in your site... Check inside language/ folder if the english language files exists.
Title: Re: error on every pages load same error on each page
Post by: motters on June 02, 2009, 17:57:10
ye the english folder is there
Title: Re: error on every pages load same error on each page
Post by: apkoutsou on June 02, 2009, 18:15:05
does the folder has any files in it?

If yes, check the permissions of ALL the elxis files... As it is a local installation, use your file manager (propably nautilus, konqueror or dolphin) and change permissions to 664...
Title: Re: error on every pages load same error on each page
Post by: motters on June 02, 2009, 18:26:01
ye the engish folder has content in it.

i had to change some not all of the folders chomd for the installion to 666 but it look like they have change back.  some folder with a chomd of 755 and some with 766.

E.G

includes - 755

language - 766

mambots -  766


 so i should change all the file on my server to a chomd of 644
Title: Re: error on every pages load same error on each page
Post by: motters on June 02, 2009, 18:35:09
am i right in doing that before i do it    :-\
Title: Re: error on every pages load same error on each page
Post by: motters on June 02, 2009, 18:56:29
more problems i have set all the folder chmod to 644 and now i get this error



PHP Error Message

Warning: require_once(includes/Core/security.php) [function.require-once]: failed to open stream: Permission denied in /home/a3240366/public_html/index.php on line 14



PHP Error Message

Fatal error: require_once() [function.require]: Failed opening required 'includes/Core/security.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/a3240366/public_html/index.php on line 14

Title: Re: error on every pages load same error on each page !!!!!! HELP PLEASE !!!!!!
Post by: Farhad Sakhaei on June 02, 2009, 19:02:34
I think your hosting provider has some problems , contact them for these matters ...
What is your host? Panel ? Company provider?
Title: Re: error on every pages load same error on each page
Post by: apkoutsou on June 02, 2009, 19:10:04
I think its a local installation: /home/.../public_html is the linux home folder...

SORRY!!  :-\ I was wrong before: the general idea is to have 755 permission [everyone reads, runs, but ony user writes], and 777 to some folders, so that elxis can write one them even if a ftp server is not installed...
Title: Re: error on every pages load same error on each page !!!!!! HELP PLEASE !!!!!!
Post by: motters on June 02, 2009, 19:16:40
thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you,

it work


 thanks alot mate !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1
Title: Re: error on every pages load same error on each page !!!!!! HELP PLEASE !!!!!!
Post by: apkoutsou on June 02, 2009, 19:23:24
 ;D glad to help!!
Title: Re: error on every pages load same error on each page !!!!!! HELP PLEASE !!!!!!
Post by: yiannisK on June 02, 2009, 22:00:51
Quote
777 to some folders, so that elxis can write one them even if a ftp server is not installed...

/cache
/tmpr