Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Taking stock of stock.....help for a newbie...on a tight deadline


C1pherman

Recommended Posts

Posted

so when i go to the "product information" page to set the "Product Info Display Attribute Pluggin" i get this message when I go to edit the multiple_dropdowns, as well when i go to update my products stock the 'track' button is not there. I'm sure I installed it, mostly correctly...but this error is driving me nuts...can someone please help me with this as this site is under a tight deadline.

 

this is the error message i get.

 

 

 

Fatal error: Call to undefined function: tep_cfg_pull_down_class_files() in /home/content/C/I/P/CIPH9/html/Cipher_Armory/catalog/admin/configuration.php(125) : eval()'d code on line 1

 

C

Posted

Are you using QTpro?

 

If so I would go to the install directory and copy the /catalog/admin/includes/functions/general.php to your server.

Other great Open Source (Free) programs: (Free as in free speech not free beer)

The Gimp - An image program. | Firefox - All you have to do is add the Web Developer add-on to make this web browser complete. | FileZilla - An ftp program. | Inkscape - A good program to create images with. | Thunderbird - An email program. | Openoffice.org - An office suite that is compatible with MS Office. | Abiword - Another office suite. | Audacity - A sound recording tool. | ddp's Picks | Wordpress - An easy to use blogging software. | Joomla - An easy to use CMS that has ecommerce plug-ins. | Drupal - Another CMS

How do I find these programs? Google Search!

Posted
Are you using QTpro?

 

If so I would go to the install directory and copy the /catalog/admin/includes/functions/general.php to your server.

 

 

I'm sorry i don't quite understand what you mean...are you saying that I have improperly, or omitted a file from my root folder?

 

C

Posted

Yes! That function is in the general.php. You need to replace that one with yours. If you have made previous changes to the general.php you will have to find the differences and add them to yours. Or it might tell you how in the instructions.

 

If so I would go to the install directory and copy the /catalog/admin/includes/functions/general.php to your server.

I mean the qtpro directory.

Other great Open Source (Free) programs: (Free as in free speech not free beer)

The Gimp - An image program. | Firefox - All you have to do is add the Web Developer add-on to make this web browser complete. | FileZilla - An ftp program. | Inkscape - A good program to create images with. | Thunderbird - An email program. | Openoffice.org - An office suite that is compatible with MS Office. | Abiword - Another office suite. | Audacity - A sound recording tool. | ddp's Picks | Wordpress - An easy to use blogging software. | Joomla - An easy to use CMS that has ecommerce plug-ins. | Drupal - Another CMS

How do I find these programs? Google Search!

Posted
Yes! That function is in the general.php. You need to replace that one with yours. If you have made previous changes to the general.php you will have to find the differences and add them to yours. Or it might tell you how in the instructions.

I mean the qtpro directory.

 

Now I'm lost...okay the general.php is where? the original because i'm looking at my QTpro, and i can't seem to find one...is that the problem....I should copy the one from the actual osC and put it in the QtPro folder....but where....the i read the install from the begining like three times and I can't see where i went wrong...

Posted

Your problem is that you are using the stock osc /catalog/admin/includes/functions/general.php. If you can't find the updated one in the package you downloaded for QTpro then try to download a different one. Download one that says something like "full package included".

Other great Open Source (Free) programs: (Free as in free speech not free beer)

The Gimp - An image program. | Firefox - All you have to do is add the Web Developer add-on to make this web browser complete. | FileZilla - An ftp program. | Inkscape - A good program to create images with. | Thunderbird - An email program. | Openoffice.org - An office suite that is compatible with MS Office. | Abiword - Another office suite. | Audacity - A sound recording tool. | ddp's Picks | Wordpress - An easy to use blogging software. | Joomla - An easy to use CMS that has ecommerce plug-ins. | Drupal - Another CMS

How do I find these programs? Google Search!

Posted

You can use this one:

 

http://www.shiplinux.com/extra/general.php.zip

 

It needs to replace the /catalog/admin/includes/functions/general.php

Other great Open Source (Free) programs: (Free as in free speech not free beer)

The Gimp - An image program. | Firefox - All you have to do is add the Web Developer add-on to make this web browser complete. | FileZilla - An ftp program. | Inkscape - A good program to create images with. | Thunderbird - An email program. | Openoffice.org - An office suite that is compatible with MS Office. | Abiword - Another office suite. | Audacity - A sound recording tool. | ddp's Picks | Wordpress - An easy to use blogging software. | Joomla - An easy to use CMS that has ecommerce plug-ins. | Drupal - Another CMS

How do I find these programs? Google Search!

Posted
Your problem is that you are using the stock osc /catalog/admin/includes/functions/general.php. If you can't find the updated one in the package you downloaded for QTpro then try to download a different one. Download one that says something like "full package included".

 

hhhmmmmmI did, get one that says full package included and i copied the general.pho from the QT to the main general.php in /catalog/admin/includes/functions/general.php and the same problem persists...I even downloaded KDiff to see the differences and it seems okay...or at least what i think is okay...I'm afraid to re do the install...because the merging of databases kinda scares me...I don't wanna totally screw this up...as that would set me back a few days...hmmm

 

 

anything else i could try, or is the fear of the reinstall not that big of a deal?

 

C

Posted

If you can find text that looks like this in the /catalog/admin/includes/functions/general.php thats on your server then your problem could be something else.

//++++ QT Pro: Begin Changed code

////

// Function to build menu of available class files given a file prefix

// Used for configuring plug-ins for product information attributes

function tep_cfg_pull_down_class_files($prefix, $current_file) {

$d=DIR_FS_CATALOG . DIR_WS_CLASSES;

$function_directory = dir ($d);

 

while (false !== ($function = $function_directory->read())) {

if (preg_match('/^'.$prefix.'(.+)\.php$/',$function,$function_name)) {

$file_list[]=array('id'=>$function_name[1], 'text'=>$function_name[1]);

}

}

$function_directory->close();

 

return tep_draw_pull_down_menu('configuration_value', $file_list, $current_file);

}

 

//++++ QT Pro: End Changed Code

 

Your error says it can't find this function.

Other great Open Source (Free) programs: (Free as in free speech not free beer)

The Gimp - An image program. | Firefox - All you have to do is add the Web Developer add-on to make this web browser complete. | FileZilla - An ftp program. | Inkscape - A good program to create images with. | Thunderbird - An email program. | Openoffice.org - An office suite that is compatible with MS Office. | Abiword - Another office suite. | Audacity - A sound recording tool. | ddp's Picks | Wordpress - An easy to use blogging software. | Joomla - An easy to use CMS that has ecommerce plug-ins. | Drupal - Another CMS

How do I find these programs? Google Search!

Posted

Thats good you solved the problem. I will have to try Kdiff.

Other great Open Source (Free) programs: (Free as in free speech not free beer)

The Gimp - An image program. | Firefox - All you have to do is add the Web Developer add-on to make this web browser complete. | FileZilla - An ftp program. | Inkscape - A good program to create images with. | Thunderbird - An email program. | Openoffice.org - An office suite that is compatible with MS Office. | Abiword - Another office suite. | Audacity - A sound recording tool. | ddp's Picks | Wordpress - An easy to use blogging software. | Joomla - An easy to use CMS that has ecommerce plug-ins. | Drupal - Another CMS

How do I find these programs? Google Search!

Posted
Thats good you solved the problem. I will have to try Kdiff.

 

 

hahahahahahahahaahha i spoke too soon.....now nothing is showing up......it's gonna be a long night...

 

I tried re-installing everything except the file that you gave me and now i have nothing...the stock list doesn't even show up in the attributes page and i'm not even getting the drop-down option anymore.

 

 

 

yikes...where to start....

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...