Post by DigitariaGlobal » Fri Apr 29, 2011 3:54 am

Now as I decided to titanium secure a site, I am having problems. I remain the admin folders and both references to it in config.php and now I can't access the site via the administration panel. I just get a blank page no errors nothing!

I am using v 1.4.9.4

Any help?


Posts

Joined
Wed Apr 27, 2011 6:38 pm

Post by Xsecrets » Fri Apr 29, 2011 5:22 am

check your server error logs. There are errors, but your php is configured not to show them on screen. Once you find out what the errors are it should be easy to figure out the problem.

OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter


Guru Member

Posts

Joined
Sun Oct 25, 2009 3:51 am
Location - FL US

Post by DigitariaGlobal » Fri Apr 29, 2011 5:31 am

There is nothing showing up in my error log. Where is the OC error log located?


Posts

Joined
Wed Apr 27, 2011 6:38 pm

Post by Xsecrets » Fri Apr 29, 2011 5:34 am

the oc error log is in system/log/error.txt
but a more definitive log is usually on your hosting panel.

OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter


Guru Member

Posts

Joined
Sun Oct 25, 2009 3:51 am
Location - FL US

Post by DigitariaGlobal » Fri Apr 29, 2011 5:52 am

2011-04-20 14:33:43 - PHP Warning: unlink(/content/Hosting/c/u/<site name>/<root directory>/store_location/system/cache/cache.category.0.1.0.1303164012) [<a href='function.unlink'>function.unlink</a>]: No such file or directory in /content/Hosting/c/u/<site name>/<root directory>/<store_location>/system/library/cache.php on line 15

text in red not the actual names, these were removed for security

that is all the error message in the log

I made the changes about 2hrs ago

I even emptied the catch folder, the permission is 755

my hosting panel log was the first one i checked and there were no errors relating to any actions today
Last edited by DigitariaGlobal on Fri Apr 29, 2011 6:01 am, edited 1 time in total.


Posts

Joined
Wed Apr 27, 2011 6:38 pm

Post by Xsecrets » Fri Apr 29, 2011 5:56 am

that wouldn't cause a blank screen anyways. You need to be looking for a fatal error, which may actually happen before opencart can write to the error log. Have you looked at the error logs on your hosting?

OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter


Guru Member

Posts

Joined
Sun Oct 25, 2009 3:51 am
Location - FL US

Post by DigitariaGlobal » Fri Apr 29, 2011 6:26 am

Checked error log on hosting and no issues.

I get a blank page, everything worked fine before I rename admin


Posts

Joined
Wed Apr 27, 2011 6:38 pm

Post by DigitariaGlobal » Fri Apr 29, 2011 6:39 am

What are the permissions for the system folder and sub-folders and the admin and admin sub-folders?


Posts

Joined
Wed Apr 27, 2011 6:38 pm

Post by Xsecrets » Fri Apr 29, 2011 6:40 am

well I guess rename it back. If you can't produce any errors noone can help you.

OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter


Guru Member

Posts

Joined
Sun Oct 25, 2009 3:51 am
Location - FL US

Post by DigitariaGlobal » Fri Apr 29, 2011 7:27 am

I changed it back and it works.

There must be other changes that needed to be made apart from the ones in admin/config.php.

Anyone knows where these changes are?


Posts

Joined
Wed Apr 27, 2011 6:38 pm

Post by only_me » Fri Apr 29, 2011 8:13 am

DigitariaGlobal wrote:Now as I decided to titanium secure a site, I am having problems. I remain the admin folders and both references to it in config.php and now I can't access the site via the administration panel. I just get a blank page no errors nothing!

I am using v 1.4.9.4

Any help?
If you really did mean to say both references to it, then I would say that is the cause of your error. I count five references to "admin" in the config.php file.

Being new to opencart and indeed website creation, a lesson I recently learned is that next time you upgrade versions, be aware that you have changed the name of the admin folder. So either rename your website admin folder back to "admin" or rename the admin folder in the upgrade package to your website's admin folder name. It's not so relevant to you right now, as you're on 1.4.9.4 already, but is something that should be borne in mind in future to avoid the schoolboy error I made.

Hope that helps.

Newbie

Posts

Joined
Sat Apr 02, 2011 6:47 am

Post by DigitariaGlobal » Fri Apr 29, 2011 3:55 pm

Yes you are right there are 5 references to admin, it was my short sight. I corrected the errors I made, it's now working fine.

I should have been more careful.

What abut the default permissions, anyone has a list?

Thanks a lot guys, all of you, for your help.


Posts

Joined
Wed Apr 27, 2011 6:38 pm
Who is online

Users browsing this forum: No registered users and 8 guests