Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

eXcaliburN

Pioneers
  • Posts

    13
  • Joined

  • Last visited

Profile Information

  • Real Name
    Xavier

eXcaliburN's Achievements

  1. Nothing broke, except for the same error I listed above. I'm on your site at the moment - I have created my own template that alters a few files but leaves everything largely standard! I wrote a procedure for myself to simply implement the design changes myself cause I've had to do that a few times. I've discussed with my client, we're happy to pay you to implement the contribution. Although with the non-standard customisations I've made I wanted to ask you about that before making a payment! Although only two of my edits reside in the same files as your contribution /includes/languages/english.php /includes/template_top.php If you'd like to discuss payment matters in private I can contact you through your site?
  2. The server I use utilises the following PHP version 5.2.15 MySQL version 5.1.52 Will that fail also? EDIT: Will that fail also if it is just a version incompatibility?
  3. My version of XAMPP runs PHP 5.3.1 and MySQL server version 5.1.41 However it runs osCommerce 2.3.1 no issue... Does your contribution include deprecated language functions?
  4. On this page http://127.0.0.1/catalog/admin/articles.php Located: Admin>Articles Manager>Topics/Articles I get this error: Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 35 bytes) in F:\xampp\htdocs\catalog\admin\includes\functions\articles.php on line 52 the entire space for that page reads only the following text Articles Manager V 1.57_6 (visit the support thread) by Jack_mcs from oscommerce-solution.com Check for Updates Search: [search box also displays] Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 35 bytes) in F:\xampp\htdocs\catalog\admin\includes\functions\articles.php on line 52 This is the function that the error occurs in function tep_get_topic_tree($parent_id = '0', $spacing = '', $exclude = '', $topic_tree_array = '', $include_itself = false) { global $languages_id; if (!is_array($topic_tree_array)) $topic_tree_array = array(); if ( (sizeof($topic_tree_array) < 1) && ($exclude != '0') ) $topic_tree_array[] = array('id' => '0', 'text' => TEXT_TOP); if ($include_itself) { $topic_query = tep_db_query("select cd.topics_name from " . TABLE_TOPICS_DESCRIPTION . " cd where cd.language_id = '" . (int)$languages_id . "' and cd.topics_id = '" . (int)$parent_id . "'"); $topic = tep_db_fetch_array($topic_query); $topic_tree_array[] = array('id' => $parent_id, 'text' => $topic['topics_name']); } $topics_query = tep_db_query("select c.topics_id, cd.topics_name, c.parent_id from " . TABLE_TOPICS . " c, " . TABLE_TOPICS_DESCRIPTION . " cd where c.topics_id = cd.topics_id and cd.language_id = '" . (int)$languages_id . "' and c.parent_id = '" . (int)$parent_id . "' order by c.sort_order, cd.topics_name"); while ($topics = tep_db_fetch_array($topics_query)) { if ($exclude != $topics['topics_id']) $topic_tree_array[] = array('id' => $topics['topics_id'], 'text' => $spacing . $topics['topics_name']); $topic_tree_array = tep_get_topic_tree($topics['topics_id'], $spacing . ' ', $exclude, $topic_tree_array); } return $topic_tree_array; } This specific line of code is where it says the error occurs if ($exclude != $topics['topics_id']) $topic_tree_array[] = array('id' => $topics['topics_id'], 'text' => $spacing . $topics['topics_name']); The other function pages in the admin area display fine This error is occurring in a completely clean/default version of osCommerce 2.3.1 with Header Tags SEO 3.2.5 and Article Manager 1.57_6 Is there any more information I can provide you with to assist?
  5. To test the issue I'm having, I created a clean, fresh install of osCommerce 2.3.1 - completely standard. Not a single layout change. Installed Header Tags SEO 3.2.5 (as it is a dependency for Article manager) - success Installed Article Manager 1.57_6 And I'm receiving the same error! Any help would be greatly appreciated as my client is starting to get a bit impatient...
  6. Using osCommerce 2.3.1 Running off XAMPP on a USB and uploading edits to live site I used WinMerge in a few documents, but not all as I'd edited some myself for some layout changes I made...
  7. Hey, after I installed to my custom osCommerce layout, I got this error: "Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 35 bytes) in F:\xampp\htdocs\catalog\admin\includes\functions\articles.php on line 52" The inciting line of code is here while ($topics = tep_db_fetch_array($topics_query)) { if ($exclude != $topics['topics_id']) $topic_tree_array[] = array('id' => $topics['topics_id'], 'text' => $spacing . $topics['topics_name']); $topic_tree_array = tep_get_topic_tree($topics['topics_id'], $spacing . ' ', $exclude, $topic_tree_array); } The bold one is where it says the error occurs... Any ideas on what could be causing this? EDIT: Looking at the whole function, the error looks like it might be because it doesnt have any topics to read from the database?
  8. Yeah, The things I'm mainly looking with for assistance is in keeping a consistent user interface in the backend. I think it would be awful to create something that fell on itself for looking entirely out of place. Main things I'd like to know: -How do I add the string to the module box menu to open my interface? -Are there any rules or guidelines that should be acknowledged in the layout of the interface page I create? -Is there a specific method of accessing the layout of standard osCommerce admin modules? (The centre list, and info/option box on the right) -Is there a special function recommended for accessing the database? (instead of writing custom mysql_query($strings)) Once I've got it working on my site, I'll strip back anything specific, comment it a bit and give it to the community for free use and feedback.
  9. The package you provided me a link for was for osCommerce 2.2 - I am using 2.3.1 I was hoping to create something to suit my purposes instead of migrating someone else's code. Is there an overview of how the 2.3.1 administrators area works? and how to implement functionality to fit those standards? Cheers
  10. Hey Fairly new to osCommerce but I have enjoyed playing with it. I've found a way to display what I want on the front end, but my main issue is making it integrate in the back end! I have no idea how to make something just slip into the standard admin layout. If I could get some kind of abstracted overview of how it works, and what I need to do I'll figure out how to make it, and as thanks I will make it a nice contribution to the community! With comments and documentation and anything else needed to make it nice. Basically; Using osCommerce 2.3.1 - need to learn the principles of making a module integrate into the admin area so it may utilize the standard scheme for administration! - Will polish final product for community access!
×
×
  • Create New...