This is a discussion on Enhanced Dynamic MoPics & Images stored in directories within the osCMax v2 Customization/Mods forums, part of the osCMax v2.0 Forums category; This thread has been started following on from an installation thread. It now seems more appropriate to continue here. Below ...
| |||||||
| Register | FAQ | Donate | Members List | Calendar | Mark Forums Read |
|
#1
| ||||
| ||||
| This thread has been started following on from an installation thread. It now seems more appropriate to continue here. Below is a portion of the installation text file, to explain the purpose of the patch. This patch includes the mod. from mithereal (in the 'sticky' post). Quote:
There are a couple of outstanding details to remedy, which should be easily resolved in the near future. EJ [for reference: previous thread Product info image not showing
__________________ UK-based hosting plans with installation, configuration, support and maintenance. (& some ad-hoc jobs). |
|
#2
| |||
| |||
| Thank you ridexbuilder I just download the new 2.0.2h patch and I will try it as soon as I get a chance either today or tomorrow morning, and I will get right back to you. |
| The Following User Says Thank You to judoka For This Useful Post: | ||
ridexbuilder (04-29-2009) | ||
|
#3
| ||||
| ||||
| Quote:
PHP Code:
__________________ UK-based hosting plans with installation, configuration, support and maintenance. (& some ad-hoc jobs). Last edited by ridexbuilder; 04-29-2009 at 03:34 PM. Reason: Typo! (again) I get worse :-( |
|
#4
| ||||
| ||||
| Quote:
/catalog/includes/languages/english/images/buttons/button_reviews.gif There is no BTS type of reference to the images. This is entirely independent of the changes that I've made but looks like the cause of the issue. Can someone confirm the 'standard' lines of code are as follows?: PHP Code: EJ
__________________ UK-based hosting plans with installation, configuration, support and maintenance. (& some ad-hoc jobs). |
|
#5
| |||
| |||
| Hi ridexbuilder, I just try your new 2.0.2h patch and it went from good (2.0.2g) to bad (2.0.2h) now about 98% of the images have disappear. Now on the first page none of the images are showing because the path now is as follows; http://localhost/catalog/images/categories/image.jpg Notice the /categories/ folder, there is no categories folder. than when I click on one of those missing images it goes to the second page where again none of the images are showing because it also is looking for the images following the same path, (http://localhost/catalog/images/categories/image.jpg). Now if I click on one of those missing images it goes to the third page and the images are there because now it is looking for the images in the correct path of; http://localhost/catalog/images/thumbs/image.jpg Now if I click on one of those product images it goes to the product discription page but the whole right column is missing and I am getting the following error message, Parse error: syntax error, unexpected '}' in C:wampwwwcatalogincludesmodulesdynamic_mopics.php on line 115 As for the click to enlarge image it is present but it is being pull from the following path; http://localhost/catalog/images/image.jpg and not from the correct path of http://localhost/catalog/images/thumbs/image.jpg And when I click on the "click to enlarge" images I am getting the following error message; Warning: require(includes/languages//popup_image.php) [function.require]: failed to open stream: No such file or directory in C:wampwwwcatalogpopup_image.php on line 24 Fatal error: require() [function.require]: Failed opening required 'includes/languages//popup_image.php' (include_path='.;C Notice the double // before pop_image.php I think this could be why I am getting this error message when I click the "click to enlarge" image. Also on the buttom of the home page I am getting the following error messages; Warning: fopen(C:/wamp/www/catalog//cache/_catalog_index.php_<osCsid>__.cache) [function.fopen]: failed to open stream: Invalid argument in C:wampwwwcatalogincludesclassespage_cache.php on line 261 Warning: fwrite(): supplied argument is not a valid stream resource in C:wampwwwcatalogincludesclassespage_cache.php on line 262 Warning: fclose(): supplied argument is not a valid stream resource in C:wampwwwcatalogincludesclassespage_cache.php on line 263 Again if you notice on the first error message there is a double // before the cache/ and there is a _ before the catalog_index.php_<osCsid>__.cache. This could be the reason for these error message. I hope this helps. I'm going to switch back to the 2.0.2g so the I can try the codes you have on your last two posts. |
|
#6
| |||
| |||
| Quote:
|
|
#7
| ||||
| ||||
| Hi Judoka, Sorry to hear of your problems. Your installation must be fundamentally different to mine for things to go so horribly wrong! ![]() With my installations, there has always been a(n unused) categories sub-directory, hence the 'inspiration' to use it. In Admin, Dynamic MoPics - abbreviated settings: B.I.D. images_big/ T.I.D. thumbs/ M.T.I.T.I.D. false E.I.P imagebase_{1} C.I.D. categories/ I'll try to do a complete re-installation in a development environment. It will be osCmax v2.0.2, followed immediately by v2.0.2h. This should provide a baseline to work from. You might like to try the same - though it should be noted that I don't (deliberately) run in a WAMP environment - preferring to run real programs on a real OS includes/languages//popup_image.php - the language is missing, for some reason. FYI: Quote:
I really do advise trying a 'fresh' installation into a different area and/or sign up for free hosting account and put it on a Linux server. EJ
__________________ UK-based hosting plans with installation, configuration, support and maintenance. (& some ad-hoc jobs). |
|
#8
| ||||
| ||||
| Quote:
__________________ UK-based hosting plans with installation, configuration, support and maintenance. (& some ad-hoc jobs). |
|
#9
| ||||
| ||||
| New installation of oscMax v2.0.2 done - I can confirm that it does have an images/categories directory by default (as well as images_big & thumbs). I've added patch 2.0.2h - yes there's a wee problem with the categories image - they're not being uploaded to the category directory for some reason - I will investigate. It should be straightforward to fix. Product images seem correct in product info, reviews and wishlist. Note that I did discover one potential issue: Windows appended "JPG" to the end of an image - case matters! Once renamed to "jpg" everything was fine. [As previously noted: buttons do NOT reference any BTS templates] For the time being, progress can be monitored at ejsolutions Development : EJ
__________________ UK-based hosting plans with installation, configuration, support and maintenance. (& some ad-hoc jobs). Last edited by ridexbuilder; 04-30-2009 at 03:00 PM. Reason: URL added |
|
#10
| ||||
| ||||
| Patch 'i' posted: additional file products_new.tpl.php that was missed in 'h' (thought it was included in the official v2.0.2) Category pics now show on website - Admin doesn't show category images but that will need to be resolved another day EJ
__________________ UK-based hosting plans with installation, configuration, support and maintenance. (& some ad-hoc jobs). |
![]() |
| Tags |
| categories, directories, dynamic mopics, images |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Get rid of dynamic mopics | mskitti | osCMax v2 Features Discussion | 2 | 12-20-2008 05:12 AM |
| Dynamic MoPics | metalman923 | osCMax v2 Installation issues | 3 | 11-11-2007 08:48 AM |
| Dynamic MoPics | i2Paq | osCMax v2 Installation issues | 8 | 10-16-2007 08:44 AM |
| Dynamic Mopics - Now you see me - Now you don't | cameroti | osCMax v2 Features Discussion | 10 | 12-15-2005 12:59 PM |
| how to use dynamic mopics? i want to put more than 1 pic | Anonymous | osCMax v1.7 General Mods Discussion | 3 | 07-25-2004 02:14 PM |