Hi Dr. Byte,
I just updated an old 3.8 store to 1.5.1. Everything went smoothly, until I tried to create a new product and add a virtual attribute, option names/value. After I added my fifth item it froze, then the file got an error "Error: file cannot be found, ..." I reuploaded a back up of various files that received the error. and in comparing the admin is just completely different. So, I made a safety of his old admin files, because he had no customizations, etc. But, when I looked at the configuration file, I noticed they were completely different. I have his admin labeled to something else, but cannot find any instructions on how to do this with these new path settings.
define('DIR_WS_ADMIN', preg_replace('#^' . str_replace('-', '\/vmacp/\-', $p1) . '#', '', dirname($_SERVER['SCRIPT_NAME'])) . '/');
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_ADMIN', preg_replace('#^' . str_replace('-', '\/vmacp/\-', $p2) . '#', '', dirname($_SERVER['SCRIPT_NAME'])) . '/');
define('DIR_WS_HTTPS_CATALOG', '/');
and
// * DIR_FS_* = Filesystem directories (local/physical)
define('DIR_FS_ADMIN', realpath(dirname(__FILE__) . '/../') . '/');
define('DIR_FS_CATALOG', '/');
I want them to point to the admin that I renamed...say for sample purposes "newname" directory. How do I do this with these new paths. I'm just getting a blank page.
If I use the old admin, I am getting faulty errors or the moment I try to select and item to make an attribute, it kicks me off the page. Regardless, it's not finding the path. When I received this error, I noticed significant differences in the code. So, I made a safety of his original, and uploaded the admin files that work with this version. However, now I'm unable to set the correct paths for the admin. It's been a while since I've done this, but the old way, had a simpler little path to edit. This is a bit confusing to me. I was trying to find it in the wiki, but I wasn't able to find it in the search.
Can you help?
Thank you.
Bookmarks