Results 1 to 9 of 9
  1. #1
    Join Date
    Mar 2017
    Posts
    6
    Plugin Contributions
    0

    Default Problem in config.php with custom PrivateArea module

    Hi every one,

    I have a module into the store Privatearea. It is made for designers so they have there own space in the store and manage their products.

    In the store root i have my own admin (just will call it admin here)
    and i have a space on the root for the designers (will call it des here)

    Now the admin works perfect and i can add the designers here.
    But when i go the the des admin i have a blank page.
    When i change something into the config.php i get an error, and i changed it back into something else and now i have a blank page, so i think the error is there.

    I have tryed so many things without succes so maybe someone here knows what to do.

    Thank you anyway for reading and thinking with me.

    This is a part of the file :

    //put your shop and admin dir names. eg: 'shop/' - 'shop/admin/' <- leave the trailing slash
    //if your shop is on the top dir:
    //define('STORE_DIR', '/');
    //define('ADMIN_DIR', '/admin/');

    define('STORE_DIR', '/store/');
    define('ADMIN_DIR', '/store/sbdadmin/');

    // -----------------------------------------------------------------------------------------------
    // YOU CAN LEAVE AS IS BELOW THIS LINE
    // ------------------------------------------------------------------------------------------------

    define('PATH', $_SERVER['DOCUMENT_ROOT']);
    define('STORE_PATH', PATH . STORE_DIR);
    define('ADMIN_PATH', PATH . ADMIN_DIR);
    define('PROVIDER_DIR', basename(getcwd()) . '/');
    define('PROVIDER_PATH', STORE_PATH . PROVIDER_DIR);

    define('DIR_FS_SQL_CACHE', STORE_PATH . PROVIDER_DIR . 'cache');
    define('DIR_FS_PROVIDER', PROVIDER_PATH);

  2. #2
    Join Date
    Jul 2012
    Posts
    16,718
    Plugin Contributions
    17

    Default Re: Problem in config.php

    Umm. If you have basically created an admin directory for your designers, then the easiest thing to do is copy the contents of your existing admin directory to their admin directory, remove any files that you do not want them to be able to take action on/with, modify their access role(s) so that they can only reach/access the necessary operations. It will be a little troublesome to update both when that time comes, but it would also be simple: rename their admin directory to something they don't know, update both your and their admin directory(ies) then either give them a new folder name or restore the folder back to what it was.

    That is to say if you have used an admin/includes/configure.php file similar to any version 1.5.1 and above where the admin directory is not hard-coded like what you did above...

    As to the blank page: http://www.zen-cart.com/content.php?124-blank-page
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #3
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Problem in config.php

    Also advisable to contact the creator of the module you are using, as they understand it best.

  4. #4
    Join Date
    Mar 2017
    Posts
    6
    Plugin Contributions
    0

    Default Re: Problem in config.php

    We did, but it isn't getting anywhere. I have asked the error to the host for that specific page, and this is the log. Getting crazy about this haha

    [Fri Apr 07 23:47:13.265976 2017] [authz_core:error] [pid 893844] [client 101.99 .75.136:54839] AH01630: client denied by server configuration: /home/pu blic_html/.htaccess.bk

  5. #5
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Problem in config.php

    /home/pu blic_html/.htaccess.bk <- there should not be any file trying to access this, it (probably) is a backup file and will be non-useable

    /home/pu blic_html/.htaccess <- do you have a file by this name?

    Seems odd the module creator doesn't know what to do or is it a case of they won't help? In either case you will probably need to have/hire someone to look over your setup and hopefully the module came with good install instructions.

  6. #6
    Join Date
    Mar 2017
    Posts
    6
    Plugin Contributions
    0

    Default Re: Problem in config.php

    Hi i already want to thank you very much for the help you are giving even just listening.

    The file exists but there's nothing in this file, i deleted this (after saving somewhere) and it doesn't do a thing.

    I also have this same file where i have the store, it's from the zencart.

    The developer from the module we bought (175$) is almost not reachable unfortunately.
    I'm so close in giving up on it. I tried so many things it's frustrating. I thought is was the config.php but also with changes there it doesn't work.
    So i have placed the original in again. When i change something wrong on purpose there i do get an error page. When i change it back the page is blank.

    Thank you again for listening and your thinking

  7. #7
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Problem in config.php

    After making all those changes, is the new error message in the logs different now?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  8. #8
    Join Date
    Mar 2017
    Posts
    6
    Plugin Contributions
    0

    Default Re: Problem in config.php

    Well stupid me but i didn't ask again going to check. Thank you

  9. #9
    Join Date
    Mar 2017
    Posts
    6
    Plugin Contributions
    0

    Default Re: Problem in config.php

    Oh my now even better no error logs, i had a developer check it, but the module is encrypted, and not even he knows.
    He also thought the configure.php but he changed it also and no change. It's hopeless now i think


    The how to install is gone from the internet suddenly.

 

 

Similar Threads

  1. Problem with Product_Listing.php module
    By LuciStuff in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 29 Oct 2010, 03:50 PM
  2. Problem with custom tpl_whats_new.php sidebox after upgrade
    By JLA in forum Upgrading from 1.3.x to 1.3.9
    Replies: 3
    Last Post: 23 May 2010, 12:04 PM
  3. $shipping_num_boxes Problem with custom shipping module
    By Reesy in forum Addon Shipping Modules
    Replies: 8
    Last Post: 30 Apr 2010, 05:07 PM
  4. Format problem with Custom/index.php
    By candyt3 in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 24 Nov 2009, 04:04 PM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR