Re: Can't access my admin after updagre 1.3.7 > 1.3.8
Hi everyone, many thanks for the quick help :)
Quote:
Originally Posted by
ebusinessman
the upgrade is not complete.
check if you have function zen_get_languages() in this file:
admin\includes\functions\general.php
Fact is, I don't have that file at all :(
And now I'm wondering: 1.3.8 isn't a patch, it's a new version, right?
and "patch 1.3.8" is something to apply after having upgraded?
Because I considered that 1.3.8 patch as the new version... but maybe I'm right. If not, that is most probably the problem?
Re: Can't access my admin after renaming
After doing the admin change and the security path when logging into zencart I get the thank you for loading zencart screen. I've read this post and yes in the general.pho I do have
function zen_get_languages() {
global $db;
$languages = $db->Execute("select languages_id, name, code, image, directory
from " . TABLE_LANGUAGES . " order by sort_order");
while (!$languages->EOF) {
$languages_array[] = array('id' => $languages->fields['languages_id'],
'name' => $languages->fields['name'],
'code' => $languages->fields['code'],
'image' => $languages->fields['image'],
'directory' => $languages->fields['directory']);
$languages->MoveNext();
}
return $languages_array;
}
Is there something in this file that needed to be modified?
I also installed zen cart though fantastico and in MySql I have a listing for admin with the name admin, could that be a problem?
Thanks
Evan
Re: Can't access my admin after renaming
Ok I fixed it, Im not sure if it's because I installed zencart thought fantastico or not but I deleted the
define('DIR_FS_ADMIN', '/home/mystore.com/www/public/admin/');
define('DIR_FS_CATALOG', '/home/mystore.com/www/public/');
from admin/includes/config.php and I was able to log into my admin
Again dont ask me why but could be something to be tried.
Re: Can't access my admin after renaming
That's odd. Sounds like you have a double set of definitions in that file ... which is not good. Better double-check to be sure that everything in that file, from beginning to end, is your own stuff, and not someone else's.
Re: Can't access my admin after updagre 1.3.7 > 1.3.8
Quote:
Originally Posted by
Corinne
And now I'm wondering: 1.3.8 isn't a patch, it's a new version, right?
and "patch 1.3.8" is something to apply after having upgraded?
Because I considered that 1.3.8 patch as the new version... but maybe I'm right. If not, that is most probably the problem?
Could anyone please point me to the right direction?
Thank you!
Re: Can't access my admin after updagre 1.3.7 > 1.3.8
Corinne,
You said you're using v1.3.7, so you need to apply the patch based on using v1.3.7.
Or, you could upgrade your entire site to v1.3.8, and then apply the patch for 1.3.8. Yes, 1.3.8 is a whole new version compared to 1.3.7.
Related Thread: Security Patches To Be Applied To Each Version
Re: Can't access my admin after renaming
Hey - Think I got this right - I'm adding in my post here because the title matches my issue and thus other searchers may have less stuff to read through.
Same issue - I renamed the admin folder to TonySpumoni (ok it's not the real name) but you needed something for a refernce.
When I look at the config code it’s something like this – not real but give you the idea:
Pub-html/JacksStore/TonySpumoni – where jackstore is the store and Tony is the admin.
Now I have gone through both the admin/config and the includes/config to make sure that all are referencing the right path. They seem to be but it doesn’t work.
Old login: JacksStore/Admin
New Login: JacksStore/TonySpumoni
Any ideas?
Running on 1.3.8a with security patches installed.
Re: Can't access my admin after renaming
The detailed steps for the required edits when renaming your admin folder are discussed in the FAQ article on the topic: https://www.zen-cart.com/tutorials/index.php?article=33
Re: Can't access my admin after renaming
Ok, now I have this problem.
I have a fully functioning store ... so the install went fine ... 100% functioning store.
I went and did the new security patch and renamed the admin folder - let's call it "abc123".
In admin/includes .... I changed the admin folder name in the configure.php file in the 3 places to abc123.
Now when I try to log into admin at, www.site.com/store/abc123 I get a 404 error.
I reversed the security patch and still nothing.
So, rename admin folder and change the admin folder name in 3 spots in the admin/includes configure.php file .... what else is there to do to rename the admin folder and have access ????
Yes, I changed the permissions on the configure.php file.
Renaming back to admin fixes things.
Re: Can't access my admin after renaming
Out of 5 zencarts I've installed in the last 5 months, only one was I able to successfully rename the admin folder. All of them are fully functioning stores with sales and everything.
It's almost as if there is a missing step that I somehow found out about in the one successfully renamed of store, but can't remember now.
1) admin/includes/configure.php
change permissions
3 spots: change name of admin folder to new name (123abc)
save and upload
change permissions back
2) rename the admin folder to new name (123abc)
3) go to log into admin
What am I missing?