Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
Convert
Wordpress to Elxis
with
Elxis importer
!
Home
Help
Login
Register
Elxis CMS Forum
»
Support
»
Administration
»
Elxis 2008 - Configuration.php problem!
« previous
next »
Print
Pages: [
1
]
Author
Topic: Elxis 2008 - Configuration.php problem! (Read 14060 times)
rentasite
Elxis Community
Hero Member
Posts: 3282
Web Services
Elxis 2008 - Configuration.php problem!
«
on:
March 30, 2008, 23:08:36 »
Hi, i was in the administration area and was changing some features through
"Global Configuration"
. Before i proceed with saving the changes, i selected
"to make configuration.php non writable"
. I must say that it was the 1st time i was using this feature through the admin panel, even since Elxis 2006.4. !!!
The problem:
After Saving, i got the errors i paste below. I checked through FTP my configuration.php file and it's CHMOD permissions were set to 204 !!!
I fixed it, but........
Any idea why i got these errors?
Thanks
==================================================
Warning: file(/home/mysite/public_html/configuration.php): failed to open stream: Permission denied in /home/mysite/public_html/globals.php on line 19
Warning: implode(): Bad arguments. in /home/mysite/public_html/globals.php on line 19
Warning: main(configuration.php): failed to open stream: Permission denied in /home/mysite/public_html/index.php on line 26
Fatal error: main(): Failed opening required 'configuration.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/mysite/public_html/index.php on line 26
Logged
Rent a Site
|
Lelevose
Farhad Sakhaei
Elxis Community
Hero Member
Posts: 1190
I know nothing , Should know more & more
Re: Elxis 2008 - Configuration.php problem!
«
Reply #1 on:
March 30, 2008, 23:39:36 »
did you use Change mode tool before this ?
Are you using SUexec?
Logged
DediData Web Hosting Services
rentasite
Elxis Community
Hero Member
Posts: 3282
Web Services
Re: Elxis 2008 - Configuration.php problem!
«
Reply #2 on:
March 30, 2008, 23:42:34 »
No! I did exactly what i wrote above.
What do you mean by saying "Change mode tool" ?
Logged
Rent a Site
|
Lelevose
Farhad Sakhaei
Elxis Community
Hero Member
Posts: 1190
I know nothing , Should know more & more
Re: Elxis 2008 - Configuration.php problem!
«
Reply #3 on:
March 30, 2008, 23:46:19 »
Change mode in Elxis Tools !
Also File Creation and Directory Creation in Global Configuration -> Server tab !
You didn't use them ?
Logged
DediData Web Hosting Services
rentasite
Elxis Community
Hero Member
Posts: 3282
Web Services
Re: Elxis 2008 - Configuration.php problem!
«
Reply #4 on:
March 30, 2008, 23:51:28 »
NOPE!!!! Nothing from those mentioned, Farhad
From Global Configuration i changed only the Metadata. Nothing else. And as i said, i selected "to make configuration.php non writable". And faced the problems i wrote.
Mystery ha?
Logged
Rent a Site
|
Lelevose
Farhad Sakhaei
Elxis Community
Hero Member
Posts: 1190
I know nothing , Should know more & more
Re: Elxis 2008 - Configuration.php problem!
«
Reply #5 on:
March 31, 2008, 00:08:59 »
I think this is not a Elxis issue , it is probably a server problem
Logged
DediData Web Hosting Services
rentasite
Elxis Community
Hero Member
Posts: 3282
Web Services
Re: Elxis 2008 - Configuration.php problem!
«
Reply #6 on:
March 31, 2008, 00:22:05 »
Lets hear an opinion from someone else also.
Logged
Rent a Site
|
Lelevose
Ivan Trebješanin
Elxis Team
Hero Member
Posts: 1663
Re: Elxis 2008 - Configuration.php problem!
«
Reply #7 on:
March 31, 2008, 01:39:56 »
Very strange...
what version of Elxis were you using?
Logged
I've got a snap in my finger...
Got rhythm in my walk...
datahell
Elxis Team
Hero Member
Posts: 10356
Re: Elxis 2008 - Configuration.php problem!
«
Reply #8 on:
March 31, 2008, 07:57:10 »
Chmod is a well known issue. Normally it works fine but under some circumstances it might give you wrong permissions. The usage of the "Change mode" tool is absolutely safe, I personally use it continuously, but if you want to be sure, never touch in global configuration the option to make everything writable or unwritable. The problem is in the nature of the function chmod, some times it takes the permissions input as a string and others as an octal number. We have applied a fix in file manager for Elxis 2008.0 but not all Elxis files have been updated. It also has to do with site environment.
Conclusion: If you want to chmod a file/folder use the chmod tool (test it if works fine on your site), nothing else.
«
Last Edit: March 31, 2008, 07:58:49 by datahell
»
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
rentasite
Elxis Community
Hero Member
Posts: 3282
Web Services
Re: Elxis 2008 - Configuration.php problem!
«
Reply #9 on:
March 31, 2008, 09:01:51 »
Quote from: Ivan Trebješanin on March 31, 2008, 01:39:56
Very strange...
what version of Elxis were you using?
2008 Ivan.
Well thanks guys! It was the 1st (and last) time i used the function to make configuration.php unwritable through admin panel.
P.S: I wasnt talking about "Change mode" tool for the rest of the files. Only configuration.php
«
Last Edit: March 31, 2008, 09:03:25 by supernet
»
Logged
Rent a Site
|
Lelevose
Ivan Trebješanin
Elxis Team
Hero Member
Posts: 1663
Re: Elxis 2008 - Configuration.php problem!
«
Reply #10 on:
March 31, 2008, 13:51:44 »
Actually, datahell has written all I wanted to tell you, so read his post.
Logged
I've got a snap in my finger...
Got rhythm in my walk...
rentasite
Elxis Community
Hero Member
Posts: 3282
Web Services
Re: Elxis 2008 - Configuration.php problem!
«
Reply #11 on:
March 31, 2008, 13:59:09 »
I did thank you.
Repeat: im not talking about "Change mode" tab.
Logged
Rent a Site
|
Lelevose
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Support
»
Administration
»
Elxis 2008 - Configuration.php problem!