Tried logging in to the dashboard today and can't get access. Website running fine. But can't access dashboard or Edit bar.
<?php Loader::element('header_required'); ?>
Do you have any files overridden - like single_pages/login.php or:
I haven't overwritten single pages or controllers in the root directory unless you refer to these folders in the concrete directory, which haven't overrided in any way..
No I haven't. Would trying the database source help and what table would that be?
Uninstall the testimonials package (no idea why this would have any effect) manually from the database.
Take a look at the Packages table, then copy the values of the row that has the testimonials package in it, then delete that row. Add it back if it doesn't help.
Check file permissions on all of the files in your site - mainly everything inside of the /concrete folder. basically make sure the web server has read access to them.
upgrade from 18.104.22.168 to current stable (22.214.171.124) we've fixed allot of bugs since then and it's generally better.
You may also want to test that php's sessions are working. In your site's footer print out var_dump($_SESSION); See what changes when you try and login. Also print out
on the login single page:
Are you on a cloud server by chance?
- you're most likely not on a cloud server unless you specifically were shopping for a cloud hosting setup.
The last time I tried an install for this the results weren't satisfactory.
However, given no choice I will back up my data and proceed.
I may have to create a directory labelled concrete126.96.36.199 in the root to house the fresh install just in case. Tell me what you think.
I looked at your cookie path and it was being set to / as it should be. Try commenting out the BASE_URL and DIR_REL lines from your config/site.php
Also if you upgrade, back it all up like you said, but don't do the upgrade in a sub-directory, I think that'll just cause more problems. back up the database, then rename your current concrete directory to concrete188.8.131.52 and then rename the new concrete directory from concrete184.108.40.206 to concrete and immediately pull up the upgrade script:
To upgrade to 220.127.116.11 are you suggesting I re-create the directory 18.104.22.168 again and then return all data elements back to this folder just before downloading & installing concrete22.214.171.124 ?
Will both directories 126.96.36.199 and 188.8.131.52 be in the web root, prior to pulling up the upgrade script /tools/required/upgrade?
Attached is a snapshot of what my directory looks like now.
I have also attempted commenting the lines in config/site.php file but it made no difference.
on line 7 which should be correct I think.
However I still can't log on to the dashboard.
As you instructed I have upgraded to 184.108.40.206 and it was very successful. However I can still log in, but not to the dashboard and neither does the edit bar appear.
This means (as you are well aware) that I'm unable add or modify content.
I must also mention that there were some error messages that showed up on upgrade which didn't affect the sites' performance but could be worth mentioning.
Warning: Unknown: open(c:\windows\temp/sess_6pbemfsg2lvugnk7iao6n358h7, 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:\windows\temp) in Unknown on line 0
I've tried setting permissions to concrete/single_pages/login.php to 755 or 775 and I get the following message on browsing;
"Access Denied" or "A file permissions error has occurred. Please check the permissions on the script and the directory it is in and try again."
Permission settings are set on 644 for concrete/single_pages/login.php and it reverts to these settings whenever I attempt to change them.
However I would like to know what the permissions on these single_pages folder and their respective subfolders should be? What else can I do resolve this dilemma.
Make sure c:\windows\temp/ exists and the server can read/write from that directory. You can open a window an explorer window and watch files get created and removed.
Another option would be to move servers. If you're using this in a production environment a linux based server would work much better.
They have dual server environments for each hosted domain with a choice to run either Linux or Windows.
If this is a hosting issue, would you be kind enough to elaborate or tell me precisely what information to convey to my hosting company so that they can speedily resolve this permissions issue.
In the meantime I will present the error aforementioned to them.
Warning: Unknown: open(c:\windows\temp/sess_6pbemfsg2lvugnk7iao6n358h7, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
Warning: Unknown: Failed to write session data (files).
And if php's sessions are not working, that would certainly explain your inability to log into the dashboard.
Have your web host verify that your php session.save_path is correct and php's session management is working.
They rectified it and told me to comment or remove the line
session.save_path = c:\windows\temp
from my php.ini file which had been there from the commencement of my project.
I am totally relieved, however after clearing my cache I noticed that the dashboard in 220.127.116.11 appears to be a lot slower, but I'll take that over not being able to log in any day.
Once again Ryan, many thanks for your generosity and help. Very much appreciated.
In my case, the subfolder was called "/new", so I tried changing the url from example.com/videos to example.com/new/videos. The edit bar reappeared.
Turned out to be a cookie path issue, but that's another story.