Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
IOS Hotels
and
IOS Rentals
online booking systems for Elxis CMS.
Home
Help
Login
Register
Elxis CMS Forum
»
Support
»
Administration
»
Register globals / problem to access
« previous
next »
Print
Pages: [
1
]
Author
Topic: Register globals / problem to access (Read 7008 times)
alkis
Newbie
Posts: 22
Register globals / problem to access
«
on:
March 13, 2009, 08:00:01 »
I have a problem with elxis cms administration. I have try to put register_globals on, (it was off and was working) and just after that, i cannot login neither as administrator. And the site is down.I prompts an error message
" mysql Σφάλμα [1045] : PCONNECT
URI: index.php
Message: Access denied for user 'mainuser'@'localhost' (using password: YES)
Can anybody help me please?
I try to chang by hand the configuration.php,
$mosConfig_register_globals = '0';
but no chance.
Logged
datahell
Elxis Team
Hero Member
Posts: 10356
Re: Register globals / problem to access
«
Reply #1 on:
March 13, 2009, 08:09:59 »
Register globals is a php setting. $mosConfig_register_globals is just an emulation. I suggest you to disable both.
ini_set('register_globals', 'off');
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
alkis
Newbie
Posts: 22
Re: Register globals / problem to access
«
Reply #2 on:
March 13, 2009, 10:45:04 »
i dont have access to php.ini. I have already did that in .htacces
I wrote a line with
php_flag register_globals off
but..
What is the correct syntax for .htacces?
Logged
Farhad Sakhaei
Elxis Community
Hero Member
Posts: 1190
I know nothing , Should know more & more
Re: Register globals / problem to access
«
Reply #3 on:
March 13, 2009, 20:36:48 »
Most probably your server is running under suphp or phpsuexec,
In this case some .htaccess flags and values don't work , You can get a copy of php.ini from your server admin and change your desire flags in there ... Then put the new php.ini in every folders that you want that settings be apply on that folder scripts ...
Logged
DediData Web Hosting Services
alkis
Newbie
Posts: 22
Re: Register globals / problem to access
«
Reply #4 on:
March 14, 2009, 03:27:18 »
thank you for reply Farhad and datahell.
Finaly, i found a solution.
I added a new user in database and i changed the username and password in configuration.php, and it works, i have access to administration and the site is up.
Anyway, for the records, the problem wasn't the register_globlal on or off, but the fact that
the privileges of the database user was lost by changing register_global from off to on in admin panel.
Logged
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Support
»
Administration
»
Register globals / problem to access