Results 1 to 4 of 4

Yep another person with an image upload problem

This is a discussion on Yep another person with an image upload problem within the osCMax v1.7 Installation forums, part of the osCmax v1.7 Forums category; OKay I've read through alot of the forums and I'm just not seeing anyone say the solution for my particular ...

      
  1. #1
    Lurker
    Join Date
    Dec 2004
    Posts
    2
    Rep Power
    0


    Default Yep another person with an image upload problem

    OKay I've read through alot of the forums and I'm just not seeing anyone say the solution for my particular problem.

    I cannot get any picture anywhere in the admin panel to upload. New category, File Manager, New Product, anything. I cannot get them to upload.

    I'm check the permissions on the required files and they have mean modified accordingly.

    I set my images in my configure.php to any absolute path. That didn't work.

    Anyhelp would be greatly appreciated. Because I've already went throu a fith of evans trying to solve this. Maybe its something simple and I'm just not seeing it..

    -Krag

  2. #2
    Active Member red_fraggle's Avatar
    Join Date
    Feb 2004
    Location
    wilmington, NC
    Posts
    343
    Rep Power
    8


    Default

    the permission on the /images folder and the /admin/images folder needs to be 777 not the specific files inside that directory. If this is not working then i would say you have some or all of the path statements in your admin/includes/configure.php set incorrectly.

  3. #3
    Lurker
    Join Date
    Dec 2004
    Posts
    2
    Rep Power
    0


    Default

    Okay kewl....
    This is the config from admin/includes/configure.php

    What is wrong with it and what would need to be done to correct it?

    // Define the webserver and path parameters
    // * DIR_FS_* = Filesystem directories (local/physical)
    // * DIR_WS_* = Webserver directories (virtual/URL)
    define('HTTP_SERVER', 'http://www.aggregatesystems.net'); // eg, http://localhost - should not be empty for productive servers
    define('HTTP_CATALOG_SERVER', 'http://www.aggregatesystems.net');
    define('HTTPS_CATALOG_SERVER', '');
    define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module
    define('DIR_FS_DOCUMENT_ROOT', '/websolutions/catalog/'); // where the pages are located on the server
    define('DIR_WS_ADMIN', 'http://www.aggregatesystems.net/websolutions/catalog/admin/'); // absolute path required
    define('DIR_FS_ADMIN', 'http://www.aggregatesystems.net/websolutions/catalog/admin/'); // absolute pate required
    define('DIR_WS_CATALOG', 'http://www.aggregatesystems.net/websolutions/catalog/'); // absolute path required
    define('DIR_FS_CATALOG', 'http://www.aggregatesystems.net/websolutions/catalog/'); // absolute path required
    define('DIR_WS_IMAGES', 'http://www.aggregatesystems.net/websolutions/catalog/images/');
    define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
    define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');
    define('DIR_WS_INCLUDES', 'http://www.aggregatesystems.net/websolutions/catalog/includes/');
    define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
    define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
    define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
    define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
    define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
    define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');
    define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
    define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
    define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
    define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

    That's about it what does it need to be modded too?

  4. #4
    Active Member red_fraggle's Avatar
    Join Date
    Feb 2004
    Location
    wilmington, NC
    Posts
    343
    Rep Power
    8


    Default

    Yes theres alot wrong with that, alot of those configurations are asking you to use a physical hard drive path on the server not a URL.

    Try this

    Code:
    // Define the webserver and path parameters 
    // * DIR_FS_* = Filesystem directories (local/physical) 
    // * DIR_WS_* = Webserver directories (virtual/URL) 
    define('HTTP_SERVER', 'http://www.aggregatesystems.net'); // eg, http://localhost - should not be empty for productive servers 
    define('HTTP_CATALOG_SERVER', 'http://www.aggregatesystems.net'); 
    define('HTTPS_CATALOG_SERVER', ''); 
    define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module 
    define('DIR_FS_DOCUMENT_ROOT', '/websolutions/catalog/'); // where the pages are located on the server 
    define('DIR_WS_ADMIN', 'admin/'); // absolute path required 
    define('DIR_FS_ADMIN', '/websolutions/catalog/admin/'); // absolute pate required 
    define('DIR_WS_CATALOG', '/websolutions/catalog/'); // absolute path required 
    define('DIR_FS_CATALOG', '/websolutions/catalog/'); // absolute path required 
    define('DIR_WS_IMAGES', 'images/'); 
    define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); 
    define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/'); 
    define('DIR_WS_INCLUDES', 'includes/'); 
    define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); 
    define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); 
    define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); 
    define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); 
    define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); 
    define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/'); 
    define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/'); 
    define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); 
    define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); 
    define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');
    Your main problem is that i dont think you have the correct "physical path" Any where in the above code that you see "DIR_FS" you should be using a physical hard drive path from root such as "/home/httpd/vhosts/aggregatesystems.net/websolutions/catalog" Please note if you are using PLESK then this is your actual path. If not using Plesk please contact your hosting company and ask them for your FULL path to your web folder from the root of the servers hard drive.

    Post that path here and ill complete it for you.

Similar Threads

  1. Having to change image name to upload problem
    By ozstar in forum osCmax v2 Installation issues
    Replies: 1
    Last Post: 02-27-2006, 12:47 AM
  2. Help with multiple image upload
    By ozstar in forum osCmax v2 Installation issues
    Replies: 0
    Last Post: 11-29-2005, 01:51 PM
  3. New Person: Can't LOGIN to ADMIN
    By SANDRINE in forum osCMax v1.7 Installation
    Replies: 7
    Last Post: 04-13-2005, 09:20 AM
  4. EasyPopulate - suddenly having upload problem - See Error
    By xpressed in forum osCmax v1.7 Discussion
    Replies: 4
    Last Post: 07-09-2004, 06:56 AM
  5. Is there any way to have a customer upload an image file
    By crujones in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 09-24-2003, 06:05 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •