Zen Follower
- Join Date:
- Oct 2008
- Posts:
- 403
- Plugin Contributions:
- 0
Moving my site to another folder- help!
my bad...I missed that... made the changes. thanks!
Michele
http://www.thrift4kids.com
Views: 4,873
Zen Follower
my bad...I missed that... made the changes. thanks!
Michele
http://www.thrift4kids.com
Zen Follower
I'm pretty sure I place the file in the root directory...i'll try something else.
as for the images, I lost them after making the changes to the php files...looks like I'm going to have to upload images all over again :( could of been worse though.
thanks!
Michele
http://www.thrift4kids.com
Zen Follower
redid the Cache key thing and this is what I got:
Web
Moving my site to another folder- help! - Page 2 - Zen Cart SupportJan 8, 2009 ... Also, I uploaded the fix_cache_key to my root directory and typed it in the url as https://www.thrift4kids.com/fix_cache_key.php and got the ...
https://www.zen-cart.com/forum/showthread.php?p=670031 - 1 hour ago - Similar pages
In order to show you the most relevant results, we have omitted some entries very similar to the 1 already displayed.
If you like, you can repeat the search with the omitted results included.
Is this correct?
Michele
http://www.thrift4kids.com
Totally Zenned
i get this error . i m not femiliar with this tool , before responding to you , i did use it and and worked in first shot..
here is the error i m getting from your site ..
Content Encoding Error
The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression.
* Please contact the website owners to inform them of this problem
there might others with more information about this issue .
Zen Follower
I'm not sure how your got a different result them me? Anyway will contact my website service providers. Thanks so much for your help!
Michele
http://www.thrift4kids.com
Zen Follower
tony_sar:
as for images . make sure you have correct permission set for images folder , if is not writable , first you get the warning on admin page that images folder is not writable and if you ignore that , your images will not show up since they are not in images folder.
aaahh, this is becoming a nightmare. My permissions on my images folder is set to writable, I upload them when I enter my product info and it's stating my image was successfully uploaded, yet my image is still not showing up on my site> Any ideas how I can fix this or am I going to have to delete the products and retype them all again? :frusty:
Michele
http://www.thrift4kids.com
Oba-san
Were you able to find a solution to this? I am seeing images on your site ... :unsure:
Linda McGrath
If you have to think ... you haven't been zenned ...
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Zen Follower
no, not yet unfortunately. i just presently deactivated all the products that the images were not showing...still working on figuring it out.
if anyone has any ideas, i would appreciate it!
thanks!
Michele
http://www.thrift4kids.com
Black Belt
So some products were showing images and others were not? That is important info for debugging. What was different between the groups?
Zen Follower
hi,
the only difference is that all the one's that were not showing the images, were products that i've added/changed in the past week after I moved my zencart files to my root directory and changed the php files.
Everything was actually ok when I moved the files to my root...the issue didn't actually occur until I made the changes to the configure.php files.
Michele
http://www.thrift4kids.com
Black Belt
So images already in your products show, but images you add since moving and changing configure.php files don't.
That suggests that you incorrectly changed a define in /admin/includes/configure.php, while the change is correct in /includes/configure.php.
What folder are the new images actually in?
Zen Follower
mmm...I'm not sure. I copied files to my root...so I had two image folders, right? I continued to add products with images for about a week before I had the time to change my configure php files....so my guess is that they are in my original (unmoved) files. Does that sound right to you?
when I click onto my Admin page, i get this:
http://thrift4kids.com/**hp_zencart/**admin/login.php?zenAdminID=j16r2h86atses2ao268asqua04
this is where I have been working from...
Michele
http://www.thrift4kids.com
Black Belt
Most likely - check and see.
The catalog code is looking in the right place for the images, but the images are somewhere else. Moving the images to the new site /images/ folder should take care of it.
Compare DIR_WS_IMAGES between the two configure.php files.
Zen Follower
Those files look the same to me...look and see:
admin/includes/configure:
define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
define('DIR_WS_CATALOG_IMAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'images/');
includes/configure:
define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_INCLUDES', 'includes/');
As for moving the images folder, can I just copy or upload old file to the 'new' images folder? would that be the best way to go about it?
thanks!
Michele
http://www.thrift4kids.com
Zen Follower
was able to move the pictures...so i can now see them on my site. Thanks!!
however, can I assume that future inputs of products with images cause me the same issue?
Michele
http://www.thrift4kids.com
Zen Follower
yup...did a test product and having the same issue...
Michele
http://www.thrift4kids.com
Zen Follower
Maybe if someone has the time...can you take a look at my files. Maybe there is something I am missing
Includes/configure.php
From Code:
define('DIR_WS_CATALOG', '/hp_zencart/');
define('DIR_WS_HTTPS_CATALOG', '/hp_zencart/');
define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_INCLUDES', 'includes/');
define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
define('DIR_WS_BLOCKS', DIR_WS_INCLUDES . 'blocks/');
define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');
To Code:
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/');
define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_INCLUDES', 'includes/');
define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
define('DIR_WS_BLOCKS', DIR_WS_INCLUDES . 'blocks/');
define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');
Admin/includes/configure.php
**
From Code:**
define('DIR_WS_ADMIN', '/hp_zencart/admin/');
define('DIR_WS_CATALOG', '/hp_zencart/');
define('DIR_WS_HTTPS_ADMIN', '/hp_zencart/admin/');
define('DIR_WS_HTTPS_CATALOG', '/hp_zencart/');
define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
define('DIR_WS_CATALOG_IMAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'images/');
define('DIR_WS_CATALOG_TEMPLATE', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/templates/');
To Code:
define('DIR_WS_ADMIN', '/admin/');
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_ADMIN', '/admin/');
define('DIR_WS_HTTPS_CATALOG', '/');
** define('DIR_WS_IMAGES', 'images/');**
define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
** define('DIR_WS_CATALOG_IMAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'images/');**
define('DIR_WS_CATALOG_TEMPLATE', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/templates/');
thanks!
Michele
http://www.thrift4kids.com
Zen Follower
I can't help but think it has to do where I have been signing in, in my Admin screen.
I currently have been signing in on:
http://**thrift4kids.com/**hp_zencart/admin/login.php?zenAdminID=j16r2h86atses2ao268asqua04
But I can also sign into: (my new Admin area after changes were made)
http://thrift4kids.com/admin/login.php to access the same store. However, when I input a test product under this Admin, it does not show up on my site.
does this sound familiar to anyone?
Michele
http://www.thrift4kids.com
Totally Zenned
i see image for your test product that you mentioned .. 674 ..
and your admin configure.php file looks correct to me .
Zen Follower
I think I finally got it to work...let's cross our fingers. It seems I needed to add products using my new Admin sign in page.
thank you! thank you! thank you! all for your help and patience.
Michele:hug:
Michele
http://www.thrift4kids.com
Tell staff why this post should be reviewed.