Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

New product image uploading error


Recommended Posts

For those of you who know... how come i can't upload pictures whenever i'm adding a new product to my categories? They won't show up properly, and I'm thinking it's because it's not in the right folder. Is there something that I have to do?


Someone gave me this code earlier.... but I don't know what to do with it


Where exactly do I paste this code in the admin/categories.php?


// ---------- Configure Image Path Tool Features Below ---------- //

define('USE_REG_GLOBALS_PATCH', 'true'); // Use the register globals fix

define('USE_PHP5_MKDIR', 'true'); // Use the php5 mkdir function, set to false if you need to

use chmod after creating directories

define('SHOW_DIR_CHECKBOX', 'true'); // Allow users to create new directories

define('USE_UNIX_SLASHES', 'true'); // Use / slashes for php4 mkdir. Set to false for Windows

// ----------------------- End Configure ----------------------- //

Link to comment
Share on other sites


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

  • Create New...