Jump to content

Nik Grey

Member
  • Posts

    274
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Nik Grey

  1. Is there a way to test to see if the Vector skin is loading jquery ? The 'Image Uploader' Jonathan made needs it, and so do a lot of other things apparently. As my trial has expired I need to know if its worth me buying Vector as I am on the verge of getting the Lettering Tool to work - obviously I dont want to buy it only to find there is no way my Image Uploader will never work. Why am I getting so many obstickles stopping me from opening this shop ok, I cant sit about - I have purchased it so at least I can continue..
  2. Outstanding, now my trial key has expired and Shopdev do not reply to tickets.. So I purchased the Skin, went over Brians instructions time and time again - Nothing was working so I went outside for some air and Bingo.. when I tried again a few minutes later all was well Big Thanks to Brian again, absolutely outstanding help - and a very patient man indeed. .. now to conquer the next problem - Image Uploader not working
  3. Thanks Brian, I just saw your latest email. I will go through this again in the morning, first thing. I had to come back to comment as I cant sleep thinking about this. I think I know where my 'Code Oversion' stems from.. In 198x I had a sinclair Spectrum and at the time we used to read magazines which provided pages of code for us to type in for a simple program... I used to read the code from the magazine ( as it was my computer) and my neighbour would do the actual typing.. After sometimes Two days of 'Coding' we would hit Enter, expecting great things but simply getting a 'Syntax Error' message. I have been an early adopter of the popular machines since then, I was even one of the first people in my major town of Norwich (certainly at my College) to go 'Online' in 1995 (it was expensive) but yet I still do not understand the logic of coding Frustrating.
  4. Its broken again - I am going to have to take a rest, I have been doing this all day and I have no clue what I am doing. I'm just going around in circles at the moment.
  5. Doing it again... for example: { dbgClue(__FILE__.'('.__LINE__.') '.'We don't have a price.',array(),false); I always remove everything after, and including the: dbgClue .. I have the Lettering back, no prices or size yet.
  6. Yes, thats how I read what you said the first time but as that wasn't working I was adding them again..lol.
  7. I'm going over it all again. When I change: final protected function __construct() { To: final protected function __construct() { dbgClue(__METHOD__); Everything breaks and I just get white pages in admin and the store front. making edits in the /classes/language.class.php
  8. Was the only change outside of the Lettering Tool files that language.class.php edit ? if so if I over wrote the lettering tool files again with that folder you made which always worked it should work again ? I had removed all of the tracker references, obviously I must have missed something - I just went through the list, I had 'Change XX to XX' all the way through so I had everything that was there originally - should have been simple
  9. Ok, I have un-done everything we did last night - back to Square One though. Tool not working again Broken Image icon. Oh, hang on - haven't renamed the .ini file yet.. lets try that. No, it's broken again..
  10. ok, finally found it. in Firebug - drilling down to Australia it seems ! So, I commented out the width for the designform (line 157) and the tk (line 161) and it looks better - I did try adding 'height: 1000px;' to the designform part to try and make it cover the drop down menu's at the bottom but it had no effect And the Tool won't load when Firebug is running !
  11. .. This forum has been invaluable to me, without it theres no way I would be able to get to where I want (that time is getting closer). With thanks to Brian I now have my 'Tool' working BUT I need to tweak it a bit as aspects of it have been moved around and it's not looking as it should. Here's what I am talking about (hopefully in the near future when people see this it will all be displaying as it should). So, before the weekend I asked Jonathan why things weren't looking quite right - he said it was a 'Style Sheet' issue ! Where would I find the style sheet for this Vector skin. I guess I can just edit this file until I am happy - I cant really mess anything up beyond repair ! Here's a screenshot: As you can see - the grey background of the lettering at the top does not extend as far as the blue box below it. 'View Font Styles' text is not aligned correctly. Bold, Italic and Reverse cut - radio buttons are not aligned. And the pull down menu's at the bottom are also outside of the blue box. This is what I am trying to tidy up.
  12. We got quite a way last night with this, The tool is just about appearing as expected - just need to tinker with the style sheet to get it all looking correct now. I'm eager for another day of tweaking this AND I think all the edits we made only related to my tools files so as long as they don't get touched I should be ok.. no more problems once we have finished.. The only thing is, I still don't know what they problem was !
  13. The Lettering Tool does work with 5.2.8 and all of the stock skins, it's just not working with vector Yes, I am trying to get this to work with vector - thats the problem ! It has to be something this skin is doing differently to the stock skins
  14. Brian, yesterday you said you had seen 'something else' ! Looking forward to hearing what that was.
  15. I just had another reply from my host about the 'Double Dot' question - I don't think they know the answer I will see what I can find out. It's 'Servage' by the way. Someone else replied to my hosting question:
  16. I did disable that snippet when you told me to. I have changed the ajax/config.php back to your version. and now I still see that error grrrr..
  17. I changed the lettering/ajax/config.php back to how it was originally (require '../../../../ini.inc.php';) and that original error is back in Firebug. Cubecart version 5.2.8 PHP and Ioncube as you state above still. Here's the code from the other snippet: <?php $query = sprintf("SELECT CI.* , C.hide FROM `%1$sCubeCart_category_index` AS CI, `%1$sCubeCart_category` AS C WHERE CI.cat_id = C.cat_id AND CI.primary = 1 ORDER BY CI.product_id", $GLOBALS['config']->get('config', 'dbprefix')); if (($cat_hide_data = $GLOBALS['db']->query($query)) !== false) { foreach ($cat_hide_data as $data) { if ($data['hide'] == 1 && $data['primary'] == 1) { $p++; $this->_displayRandomProduct($p); } } } ?> - <?php $lettering_tool_branch = array('url' => $GLOBALS['storeURL']."/index.php?_a=letter", 'name' => "DIY Vinyl Lettering Tool"); $GLOBALS['smarty']->assign('BRANCH', $lettering_tool_branch); $navigation_tree .= $GLOBALS['smarty']->fetch('templates/element.navigation_tree.php'); $navigation_tree_array = explode("<li>", $navigation_tree); foreach($navigation_tree_array as $navigation_tree_key => $navigation_tree_val) { if (strpos($navigation_tree_val, 'title="Lettering"') !== false) unset($navigation_tree_array[$navigation_tree_key]); } $navigation_tree = implode("<li>",$navigation_tree_array); //$navigation_tree = preg_replace('#<li>.*title="Lettering".*</li>#sU','',$navigation_tree); $GLOBALS['smarty']->assign('NAVIGATION_TREE', $navigation_tree); ?>] This is all from Greyprint (the test Store is on an older version of CC as I cant test this skin on that as I have been unable to get them to extend my license to that domain so cant test there).
  18. What must be the contents of this snippet is appearing at the top in a green box (in php myadmin) - I thought this would be the same as the code you gave me for this snippet but it is not. I did disable this snippet but no change - I'm just getting a 'Broken Image' image. Here's the code which appears in php myadmin (I hope this is what you need): <?php $lettering_tool_branch = array('url' => $GLOBALS['storeURL']."/index.php?_a=letter", 'name' => "DIY Vinyl Lettering Tool"); $GLOBALS['smarty']->assign('BRANCH', $lettering_tool_branch); $navigation_tree .= $GLOBALS['smarty']->fetch('templates/element.navigation_tree.php'); $navigation_tree_array = explode("<li>", $navigation_tree); foreach($navigation_tree_array as $navigation_tree_key => $navigation_tree_val) { if (strpos($navigation_tree_val, 'title="Lettering"') !== false) unset($navigation_tree_array[$navigation_tree_key]); } $navigation_tree = implode("<li>",$navigation_tree_array); //$navigation_tree = preg_replace('#<li>.*title="Lettering".*</li>#sU','',$navigation_tree); $GLOBALS['smarty']->assign('NAVIGATION_TREE', $navigation_tree); ?> - <?php $query = sprintf("SELECT CI.* , C.hide FROM `%1$sCubeCart_category_index` AS CI, `%1$sCubeCart_category` AS C WHERE CI.cat_id = C.cat_id AND CI.primary = 1 ORDER BY CI.product_id", $GLOBALS['config']->get('config', 'dbprefix')); if (($cat_hide_data = $GLOBALS['db']->query($query)) !== false) { foreach ($cat_hide_data as $data) { if ($data['hide'] == 1 && $data['primary'] == 1) { $p++; $this->_displayRandomProduct($p); } } } ?> ]
  19. The BLOB, or the only ref I can see to a BLOB is: [bLOB - 453B] which can be seen on the screenshot above. I'm a bit lost at the moment, this is the first time I have heard of a BLOB !
  20. Ah, I thought I was missing something.. ok found it: <?php $query = sprintf("SELECT CI.* , C.hide FROM `%1$sCubeCart_category_index` AS CI, `%1$sCubeCart_category` AS C WHERE CI.cat_id = C.cat_id AND CI.primary = 1 ORDER BY CI.product_id", $GLOBALS['config']->get('config', 'dbprefix')); if (($cat_hide_data = $GLOBALS['db']->query($query)) !== false) { foreach ($cat_hide_data as $data) { if ($data['hide'] == 1 && $data['primary'] == 1) { $p++; $this->_displayRandomProduct($p); } } } ?>
  21. element.product.php is present. The nearest table I can find is Cubecart_code_snippet And if I search for (exact phrase) - selecting all tables for: dd2c731f9eea487f98f31d299c78e91d I get no matches. But if I do the same but search for 'All Words' I get 102 matches in the System_error_log If I look in the Cubecart_code-snippet table we have the Two snippets from you - and the Id's look nothing like we are searching for: Here's a screenshot !
  22. I'm still waiting for a response from the host - they did initially reply asking me to elaborate which I have done. I made the change you suggested above and I don't see the error I was getting before that change so you could be onto something I'm on the edge of my seat waiting for the next move !
  23. Fantastic, on it now Ok, error log (well, first page of it): Today, 17:06 File: [snippet_dd2c731f9eea487f98f31d299c78e91d.php] Line: [3] " " - Query was empty Today, 16:54 File: [snippet_dd2c731f9eea487f98f31d299c78e91d.php] Line: [3] " " - Query was empty Today, 16:35 File: [snippet_dd2c731f9eea487f98f31d299c78e91d.php] Line: [3] " " - Query was empty Today, 16:15 [Exception] /mounted-storage/home134/sub002/sc32225-NWDH/greyprint.co.uk/includes/lib/smarty/sysplugins/smarty_internal_templatebase.php:127 - Unable to load template file 'skins/vector/templates/element.product.php' in 'templates/content.homepage.php' Today, 16:15 [Exception] /mounted-storage/home134/sub002/sc32225-NWDH/greyprint.co.uk/includes/lib/smarty/sysplugins/smarty_internal_templatebase.php:127 - Unable to load template file 'skins/vector/templates/element.product.php' in 'templates/content.homepage.php' Today, 16:12 [Exception] /mounted-storage/home134/sub002/sc32225-NWDH/greyprint.co.uk/includes/lib/smarty/sysplugins/smarty_internal_templatebase.php:127 - Unable to load template file 'skins/vector/templates/element.product.php' in 'templates/content.homepage.php' Today, 16:12 [Exception] /mounted-storage/home134/sub002/sc32225-NWDH/greyprint.co.uk/includes/lib/smarty/sysplugins/smarty_internal_templatebase.php:127 - Unable to load template file 'skins/vector/templates/element.product.php' in 'templates/content.homepage.php' Today, 16:12 File: [snippet_dd2c731f9eea487f98f31d299c78e91d.php] Line: [3] " " - Query was empty Today, 15:38 File: [snippet_dd2c731f9eea487f98f31d299c78e91d.php] Line: [3] " " - Query was empty Today, 15:38 File: [snippet_dd2c731f9eea487f98f31d299c78e91d.php] Line: [3] " " - Query was empty Today, 15:25 File: [snippet_dd2c731f9eea487f98f31d299c78e91d.php] Line: [3] " " - Query was empty Today, 15:24 File: [snippet_dd2c731f9eea487f98f31d299c78e91d.php] Line: [3] " " - Query was empty Today, 14:10 File: [snippet_dd2c731f9eea487f98f31d299c78e91d.php] Line: [3] " " - Query was empty Today, 14:10 File: [snippet_dd2c731f9eea487f98f31d299c78e91d.php] Line: [3] " " - Query was empty Today, 14:07 File: [snippet_dd2c731f9eea487f98f31d299c78e91d.php] Line: [3] " " - Query was empty Today, 13:06 File: [snippet_dd2c731f9eea487f98f31d299c78e91d.php] Line: [3] " " - Query was empty Today, 12:56 File: [snippet_dd2c731f9eea487f98f31d299c78e91d.php] Line: [3] " " - Query was empty Today, 12:52 [Exception] /mounted-storage/home134/sub002/sc32225-NWDH/greyprint.co.uk/includes/lib/smarty/sysplugins/smarty_internal_templatebase.php:127 - Unable to load template file 'skins/vector/templates/element.product.php' in 'templates/content.homepage.php' Today, 12:52 [Exception] /mounted-storage/home134/sub002/sc32225-NWDH/greyprint.co.uk/includes/lib/smarty/sysplugins/smarty_internal_templatebase.php:127 - Unable to load template file 'skins/vector/templates/element.product.php' in 'templates/content.homepage.php' Today, 12:48 [Exception] /mounted-storage/home134/sub002/sc32225-NWDH/greyprint.co.uk/includes/lib/smarty/sysplugins/smarty_internal_templatebase.php:127 - Unable to load template file 'skins/vector/templates/element.product.php' in 'templates/content.homepage.php' Today, 12:48 [Exception] /mounted-storage/home134/sub002/sc32225-NWDH/greyprint.co.uk/includes/lib/smarty/sysplugins/smarty_internal_templatebase.php:127 - Unable to load template file 'skins/vector/templates/element.product.php' in 'templates/content.homepage.php' Today, 12:48 File: [snippet_dd2c731f9eea487f98f31d299c78e91d.php] Line: [3] " " - Query was empty Today, 12:46 File: [snippet_dd2c731f9eea487f98f31d299c78e91d.php] Line: [3] " " - Query was empty Today, 12:44 [Exception] /mounted-storage/home134/sub002/sc32225-NWDH/greyprint.co.uk/includes/lib/smarty/sysplugins/smarty_internal_templatebase.php:127 - Unable to load template file 'skins/vector/templates/element.product.php' in 'templates/content.homepage.php' Today, 12:44 [Exception] /mounted-storage/home134/sub002/sc32225-NWDH/
  24. This was resolved, thanks to Brian So, I have the trial of the Vector skin and it's exactly what I am looking for.. the problem is my 'Lettering Tool' is throwing error (toys out of pram). I have resolved to see if I can at least get an idea of what the problem is today so Firebug is loaded and I am away. The usual problem for me = No Text Showing. So, this is telling me lots: TypeError: response is null if(response.success == "1") front.js (line 108) Below is the section of code around line 108 from front.js data+="&word="+word+"&size="+size+"&fontid="+fontid+"&text="+text; $.ajax({ type: "POST", url: "modules/external/lettering/ajax/getprice.php", data : data, dataType: "json", success: function(response){ if(response.success == "1") { $("#price_show").val(response.price_show); $("#width").val(response.width); $("#height").val(size); } .. But I don't know how to read it - where do I go next ? Anyone willing to take up the challenge ?
  25. DB, I cant send you a PM - maybe your inbox is full
×
×
  • Create New...