Login to Admin
It appears during the install that everything happened correctly. However, when I try to login, it gives me an error and tells me to enter the correct login information to access the page.
Any clues?
It appears during the install that everything happened correctly. However, when I try to login, it gives me an error and tells me to enter the correct login information to access the page.
Any clues?
At some point during the setup (once you have uploaded the folder) you will have to enter your database details - these are for your database on your remote server - you should be able to access these details through your hosting provider control panel.
A little later you will be asked to provide a username and password for the admin login. These can be whatever you like.
Which bit are you having problems with?
The trouble is with the username and password to the admin page. The database information appears correct.
Using IE8 on a Windows Vista platform. The problem occurs immediately after entering the admin information.
Hiya Dennis,
I think you have a choice of two options. Either
1. Go to your onlide database - (probably accessible through your hosting control panel - phpMyAdmin), open your gallery database, select the 'wa_settings' table, and check your admin username and password. You can change them here if you like.
or
2. Delete the gallery folder from your remote server, and re-upload a fresh copy.
The first option would be a lot quicker, and that's what I'd try first.
Thanks for the advice. I looked at the wa_settings table, and the username and password are in there correctly.
Could this mean that the connection to the database is never made?
More investigation:
I went to the error log on the site and the following appeared right after I tried to log in to the admin page.
PHP Warning: Unknown: open(/var/php_sessions/sess_72ee26fac8f62b47f1c36b6a6d903749, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/php_sessions) in Unknown on line 0
PHP Warning: Unknown: open(/var/php_sessions/sess_72ee26fac8f62b47f1c36b6a6d903749, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/php_sessions) in Unknown on line 0
PHP Warning: session_start() [<a href='plugins/function.session-start'>function.session-start</a>]: open(/var/php_sessions/sess_72ee26fac8f62b47f1c36b6a6d903749, O_RDWR) failed: No such file or directory (2) in /hermes/bosweb/web166/b1662/ipw.missouriusbc/public_html/PowerGallery/WA_SecurityAssist/Helper_PHP.php on line 5
PHP Warning: Unknown: open(/var/php_sessions/sess_72ee26fac8f62b47f1c36b6a6d903749, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/php_sessions) in Unknown on line 0
PHP Warning: Unknown: open(/var/php_sessions/sess_72ee26fac8f62b47f1c36b6a6d903749, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/php_sessions) in Unknown on line 0
Hi Dennis,
No, I don't think so, the connection to the database must already have successfully been made in order for the tables to have been created correctly by the gallery set-up.
One thing occurs to me that may have some bearing on your problem; - when I set up my first gallery, all of the files that I unzipped from the downloaded folder were 'read-only', so in Dreamweaver when I put that folder into my site, I right-clicked it in the 'Files' panel and selected 'Turn Off Read Only'.
I would suggest that you do that with your gallery folder in Dreamweaver, and re-upload the lot to your remote site. It may mean having to go through the set-up again, but you know that your database settings are correct, and that your Username and Password are correct, so it shouldn't be too much of a trial.
As that's all I can think of right now, hopefully that will solve the problem.
Let us know what happens.
EDIT: This is in reply to your previous post. But still makes sense (given all the 'failed to write' messages'). See what happens.
OK. I failed safe, and removed everything. I made sure that the files that I unzipped had the "Read-Only" removed from each of them. I used FileZilla to upload the folder to my website, making sure to monitor for any Failed Transfers. The transfer happened uneventfully.
I verified the username and password in the table "wa_settings" in the database I set up.
I refreshed the error log on my server so that there were no other errors present, and then attempted to log in. The following errors are a direct result of my log-in attempt to the admin page.
PHP Warning: Unknown: open(/var/php_sessions/sess_72ee26fac8f62b47f1c36b6a6d903749, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/php_sessions) in Unknown on line 0
PHP Warning: Unknown: open(/var/php_sessions/sess_72ee26fac8f62b47f1c36b6a6d903749, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/php_sessions) in Unknown on line 0
PHP Warning: session_start() [<a href='plugins/function.session-start'>function.session-start</a>]: open(/var/php_sessions/sess_72ee26fac8f62b47f1c36b6a6d903749, O_RDWR) failed: No such file or directory (2) in /hermes/bosweb/web166/b1662/ipw.missouriusbc/public_html/PowerGallery/WA_SecurityAssist/Helper_PHP.php on line 5
PHP Warning: Unknown: open(/var/php_sessions/sess_72ee26fac8f62b47f1c36b6a6d903749, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/php_sessions) in Unknown on line 0
PHP Warning: Unknown: open(/var/php_sessions/sess_72ee26fac8f62b47f1c36b6a6d903749, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/php_sessions) in Unknown on line 0
I don't know what else to do, so I'm at your disposal.
Hi Dennis,
This has me beaten. You may have to wait for a WA tech to take a look.
Can you confirm that you have the basic mySql and PHP version requirements (PHP 5+, MySQL 5)?
I'll have a think about this, but I feel that I may have exhausted my ideas at the moment. There may be someone with more suggestions who can offer their insight before the WA guys return on Monday.
I'll post back if anything occurs to me.
Yes, I appreciate you being so thorough.
I did verify the required versions of the PHP (5.2.5) and MySQL (5.0.45), but if I remember right, that's also the in the first step of the setup for the program, and it won't let you go any further if you don't. The program was satisfied, so I assume my server meets the requirements.
I can wait until Monday for a WA tech, but I'll also check at different times during the weekend if anything occurs to you.
Thanks again for the help.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.