joomla 1.0 administrator cant login due to invalid session - session

I am using joomla 1.0 for developing a website,I cant login at backend (login only at backend).it shows the error messages as follows
first it shows the following errors in administrator/index.php
first stage
Warning: session_start() [function.session-start]: open(/hsphere/local/home/mdlglobe/mdlglobe.com/sessions\sess_972fdf60f45c091916639d797a8c7458, O_RDWR) failed: No such file or directory (2) in E:\EasyPHP 3.0\www\mdlglobe\administrator\index.php on line 111
Warning: session_write_close() [function.session-write-close]: open(/hsphere/local/home/mdlglobe/mdlglobe.com/sessions\sess_972fdf60f45c091916639d797a8c7458, O_RDWR) failed: No such file or directory (2) in E:\EasyPHP 3.0\www\mdlglobe\administrator\index.php on line 150
Warning: session_write_close() [function.session-write-close]: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/hsphere/local/home/mdlglobe/mdlglobe.com/sessions) in E:\EasyPHP 3.0\www\mdlglobe\administrator\index.php on line 150
then it redirect to index2.php,and shows
second stage
Warning: session_start() [function.session-start]: open(/hsphere/local/home/mdlglobe/mdlglobe.com/sessions\sess_a1d4a8fb0750e8d835ed4ff59cc4e707, O_RDWR) failed: No such file or directory (2) in E:\EasyPHP 3.0\www\mdlglobe\administrator\index2.php on line 37
after that it redirect to the index page itself and show
third stage
Invalid Session
login failed
I have searched lot and they says the error occurs due to session.save_path
Please anyone tell me how this session.save_path edited in easyphp and solve this problem .I am facing big issues due to this
As one answer says i have changed session.save_path="E:/easyphp/temp/" But it not effected at all..
Please help

Check session.save_path in php.ini, it should be like
session.save_path = "C:\php\temp"
and DIR path should be valid

Finaly I have Solved this issue,by done the following
I changed the session.save_path in php.ini
session.save_path = "absolute path to the temp folder"
Also I have changed the session path in .htaccess file in the sessions folder of joomla 1.0
Joomla 1.0 is using differnt method to save session variables than other joomla versions

Related

I am confused on what this error message says on my code igniter website

Warning: Unknown: open_basedir restriction in effect. File(/home/mk6g6obzufkw/mywebsite.com/index.php) is not within the allowed path(s): (G:/PleskVhosts//autismfights.com\;C:\Windows\Temp\) in Unknown on line 0
Warning: Unknown: failed to open stream: Operation not permitted in Unknown on line 0
Fatal error: Unknown: Failed opening required '/home/mk6g6obzufkw/mywebsite.com/index.php' (include_path='.:/opt/alt/php56/usr/share/pear:/opt/alt/php56/usr/share/php') in Unknown on line 0
I did check index.php but I don't see any problem in that. How can I get more detail about error. I am not expert in code igniter but yes I am beginner.
This is caused due to Server Settings.
1. Open your cPanel
2. Navigate to PHP Settings
3. Search for Common Settings
4. Check for `open_basedir`
5. Set value as `none`
6. Save the settings
The PHP script is trying to access the folder for which access is not allowed. This restriction is limited by the PHP open_basedir variable for each virtual host separately. By default, open_basedir is set to allow access for PHP files to the tmp and HTTP public directories.
So, you have either upload to the wrong folder on the server, set some php.ini value wrong, the host provider has not set up the virtual host correctly, or you have asked CodeIgniter to find a file in somewhere it doesn't have permission read/write/execute.

invalid login or password Mcrypt error

I' facing an issue with registered Customer through checkout.
After the checkout process, the customer lands in “My Account” but once logged off, he can’t acces "My Account" anymore, the message "Invalid login or password" is displayed.
Setting a new password through “Forgotten Password” button seems to solve the problem for the customer.
The system.log file is displaying:
Warning: mcrypt_generic_init(): Key size is 0 in /lib/Varien/Crypt/Mcrypt.php on line 94
Warning: mcrypt_generic_init(): Key length incorrect in /lib/Varien/Crypt/Mcrypt.php on line 94
Warning: mcrypt_generic_deinit(): 495 is not a valid MCrypt resource in /lib/Varien/Crypt/Mcrypt.php on line 135
Warning: mcrypt_module_close(): 495 is not a valid MCrypt resource in /lib/Varien/Crypt/Mcrypt.php on line 136
I thought it might be relative to my server configuration, but it's not the case as by installing a fresh Magento in a folder in the root of the same installation is doing its job properly with the same server configuration and Mcrypt.php. Moreover, the password set during registration with form (?and using the same encryption?), is set properly.
Any suggestion bout how to solve this problem?
Got it!
The encryption field was empty in app/etc/local.xml
<crypt>
<key><![CDATA[]]></key>
</crypt>
So, placed the encryption key of the fresh installation I did in my subfolder and it solved the issue.
<crypt>
<key><![CDATA[encryption_key]]></key>
</crypt>
I don't know what happened during the first installation of Magento on my server, I've double checked in my backups and there's nothing here from the beginning.
I hope nothing else has failed during installation, any suggestion of files generated during installation I should look at?

Magento error after moving website to another server

I just transferred my website to another server by using this guide: http://www.atwix.com/magento/moving-magento-to-another-server/
but when i access the it gives me this error. What does it means? what do i need to do to make it work?
Warning: include(Zend/Log.php) [function.include]: failed to open stream: No such file or directory in /var/www/site/lib/Varien/Autoload.php on line 93
Warning: include() [function.include]: Failed opening 'Zend/Log.php' for inclusion (include_path='/var/www/site/app/code/local:/var/www/site/app/code/community:/var/www/site/app/code/core:/var/www/site/lib:.:/usr/share/php:/usr/share/pear') in /var/www/site/lib/Varien/Autoload.php on line 93
Fatal error: Class 'Zend_Log' not found in /var/www/site/app/code/core/Mage/Core/functions.php on line 247
As far as i can see, it looks like the file in question can't be found at all. What to do is check the directory /www/work/newshop/lib/Zend and make sure the log file is within there. If not, double check your previous server and see if it's there as well. It's possible for you to have just missed it.
If it IS there, make sure permissions are set accordingly. eg; the log.php file should have it's permissions set to 644. (Read and Write for owner, Read for group and read for public)
did you remove the cache folder from Magento After moved your installation?
And wich PHP Version ist installed on the new Server?
Magento have already problem with php5.4 and php5.5 (reference: https://bugs.php.net/bug.php?id=62639)

Blank pages at joomla backend,error 404,not saving changes

Blank article page.
Errors found listed below .I'm a beginner with joomla I'm lost on a project now .at First was error 404 after update to joomla 2.5.9 ,now i cant even access ,the articles.I'm getting blank pages from admin pages of the backend.Is dere a way i can copy all the articles out from the folder directory of gantry/joomla. If yes I can start building the website all over again. please help anybody Deadline for site to go live is tommorrow.,
Strict Standards: Declaration of JCacheControllerPage::store() should be compatible with JCacheController::store($data, $id, $group = NULL) in C:\xampp\htdocs\Gantry417\libraries\joomla\cache\controller\page.php on line 199
Strict Standards: Only variab,les should be assigned by reference in C:\xampp\htdocs\Gantry417\plugins\system\rokgallery\rokgallery.php on line 22
Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\Gantry417\plugins\system\rokgallery\rokgallery.php on line 23
Warning: include_once(C:\xampp\htdocs\Gantry417/components/com_content/helpers/route.php): failed to open stream: No such file or directory in C:\xampp\htdocs\Gantry417\plugins\finder\content\content.php on line 330
Warning: include_once(): Failed opening 'C:\xampp\htdocs\Gantry417/components/com_content/helpers/route.php' for inclusion (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\Gantry417\plugins\finder\content\content.php on line 330
Fatal error: Class 'ContentHelperRoute' not found in C:\xampp\htdocs\Gantry417\plugins\finder\content\content.php on line 273
Warning: require_once(C:\xampp\htdocs\Gantry417/components/com_content/helpers/route.php): failed to open stream: No such file or directory in C:\xampp\htdocs\Gantry417\administrator\templates\hathor\html\com_content\articles\modal.php on line 17
Fatal error: require_once(): Failed opening required 'C:\xampp\htdocs\Gantry417/components/com_content/helpers/route.php' (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\Gantry417\administrator\templates\hathor\html\com_content\articles\modal.php on line 17
Check the permission to the route.php file.
Make sure the route.php file exists on the mentioned path.
The route.php file is not there / is not readable.
download the update package 2.5.9 http://joomlacode.org/gf/download/frsrelease/17967/78436/Joomla_2.5.x_to_2.5.9-Stable-Patch_Package.zip and explode it over your current site;
clear the cache/* folder
re-assign permissions (chown -R user:group *)
you should now be able to access administrator.
If you can also access the frontend, you're done.
Else assign one of the default templates (i.e. beez) and you should be able to see the website
If the latter works, then most likely you have a wrong gantry, re-download the right version of the template for your website.
If it doesn't, simply reinstall it there may be something wrong.

After porting some php and web app related files from my friend's windows computer to my mac I'm getting some errors

This is for a facebook app being run on heroku, but heroku is probably not the issue. The issue is either some kind of cache related thing, os porting, or I'm thinking it might be a carriage return issue.
In any case I'm getting a couple errors at the top and bottom respectively:
Warning: Unknown:
Warning: session_start(): open(C:\ProgramData\Jcx.Software\VS.Php\2.10.6970.0\temp/sess_i4ood4poc11ebsgth000g1nm74, O_RDWR) failed: No such file or directory (2) in /app/www/sdk/src/facebook.php on line 37
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /app/www/sdk/src/facebook.php:37) in /app/www/sdk/src/facebook.php on line 37
open(C:\ProgramData\Jcx.Software\VS.Php\2.10.6970.0\temp/sess_i4ood4poc11ebsgth000g1nm74, O_RDWR) failed: No such file or directory (2) in Unknown on line 0 Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (C:\ProgramData\Jcx.Software\VS.Php\2.10.6970.0\temp) in Unknown on line 0
Essentially I have tried the whole "making sure session is at the top thing," but I don't have that session piece of code in any of the files. I have tried the whole making sure "?>" is on a new line as well to no effect.
update
I have discovered something called:
zend_extension_ts="C:\Program Files (x86)\Jcx.Software\VS.Php\2010\php 5.2\ext\php_xdebug.dll"
within a file called php.ini which even after I tried to get rid of didn't seem to change anything. So, I'm thinking this has something to do with some previous files that I pushed and then removed with extensions like puo, intellisense.cache, projphp, etc.
I don't know if those are auto-generated or not, but in any case according to my errors:
There is some session data in a file called temp. I have no file named temp.
zend_extension_ts supposedly gets referenced somewhere, but it isn't visible in my code.
I apparently need to resend session cache limiter again through session_start() which is not visible in my code.
Is not the session , I'm sure. But there is directory path included in your code but that directory does not exist! Just refactor that part of the code first!
As a tip you should use realpath() and check if path exist before attempting to use it.
Hope this helps!

Resources