![]() |
Quote:
This is no good at all for when upgrading my live site, why are the external linked images deleted? |
Quote:
Essentially the script just sees an image field. Whether it's internal or external is irrelevant to a browser or the script and thus calling one field avoids having to check two places for images. Speed is good. That said, in the syncing process there's a number of sanity checks in place so if an image doesn't load, isn't a valid type, etc it gets skipped over and the external link remains in place. The process runs one image through at a time to avoid any issues with something breaking mid-way and reloads after 25 images to avoid browser timeouts. But critical errors can always throw curve balls so for beta 3 we're adding a field to store the old link. Just in case. When you re-ran the script did it say there was nothing to process? Are all of the products now showing local paths? You can query: SELECT productid,mainphoto,uploadimg FROM pf_products |
Quote:
I'm not sure why you'd want to go from an uploaded image to an external url rather than another upload but you can reset it by changing the uploadimg flag to 0. |
The err is mine Ted, I have made an error in the image view url in the core settings, just trying to figure out what I should have in there now. :)
|
Doesnt' work for me. 4.2.0
|
1 Attachment(s)
Hiya Ted,
doesn't matter what I change the "Image View Url" to in the core settings, when I check the view in Products listing page all I see is this text where the thumbnail should be: Quote:
When I use firebug to check the image location I see this: Code:
/productphotos/50014e732fa54_thumb.jpg In the core settings I have set the Image View Url to '/productphotos' but still cannot see any images anywhere. I have the images in "C:\xampp\htdocs\vb4dev\productphotos" Any ideas what I am doing wrong here TEd, it's all getting to be a bit of a headache now! |
Quote:
|
1 Attachment(s)
Quote:
If not, try changing one or two products to an external url [via your database or adding a new item], run the sync script again and see how those look. You can run this version of admincp/productforums.php which will print debug code if you're not sure on the paths |
Hi Ted, the images are present in the /productphotos/ folder but are not loading, I tried adding two new products on my test environment, nothing changed.
I uploaded the new admincp/productforums.php you posted but don't know how to get the debug stuff to show, I turn on debugging but have no idea how make it show! I think it is going to be simpler for me to delete my existing install on my live site and re-install with 1.3 when it's stable and start afresh. I don't want my site to be running a patched up version of your brilliant mod, I should like it to be functioning fully and properly. :) |
Quote:
And, given how vBulletin runs mods, upgraded or new, you get the exact same build structure. .......... At this point there are no known issues with 1.3.0 beta including the image sync routine -- so obviously we'd like to understand what's happening to your site and if there is indeed an issue in the script before we roll this code to "stable". So, if you're up for it, let's think through this...
The debug script I provided only runs when you run the image sync process on new images. It's completely unrelated to the admin setting. |
All times are GMT. The time now is 04:48 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|