Results 1 to 3 of 3

securing and storing database queries

This is a discussion on securing and storing database queries within the osCmax v2 Installation issues forums, part of the osCmax v2.0 Forums category; I have 2 problems keeping this from a completely successful install......which in my opinion is fantastic! I love it already, ...

      
  1. #1
    Lurker
    Join Date
    Jun 2005
    Posts
    2
    Rep Power
    0


    Default securing and storing database queries

    I have 2 problems keeping this from a completely successful install......which in my opinion is fantastic! I love it already, great stuff--- i was in the middle of adding many of these contributions to the standard osc.....so thankful i found this before i wasted anymore time with that!!

    problem 1) is just something i am not familiar with doing, and i have ipowerweb as host.... i am lost at how to do the securing using the htaccess...(i don't think its apache so instructions not much help-- not sure if i can do this through the domain admin or what ... never had to do this before --haven't had a live shop yet)

    problem 2) i had this happen in the osc i was working on too... when i set to true the store database queries option found in logging section.... i get these errors: (i think i set up something wrong...but no clue)

    Code:
    Warning: error_log(): open_basedir restriction in effect. File(/var/log/www/tep/page_parse_time.log) is not within the allowed path(s): (/home/******:/usr/local/lib/php:/tmp) in /home/******/public_html/catalog/admin/includes/classes/logger.php on line 49
    
    Warning: error_log(/var/log/www/tep/page_parse_time.log): failed to open stream: Operation not permitted in /home/*****/public_html/catalog/admin/includes/classes/logger.php on line 49
    
    Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/*****/public_html/catalog/admin/includes/classes/logger.php:49) in /home/*****/public_html/catalog/admin/includes/functions/sessions.php on line 67
    Other than my own inexperience showing itself in dayglo colors now, this project is top-notch! So many new features, so many more questions...lol
    Thank you so much for allowing me a place to start that exceeds my previous finishing point... with only few minor additions, i will have the fully functional, professional quality site i had in mind.....only so much better! thank you... what a timesaver! (lol does my happiness show??!!)

  2. #2
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,688
    Rep Power
    22


    Default RE: securing and storing database queries

    Problem #1

    Don't have to (but you cn still do) as ADMIN has it's own login/password and adminitative settings (plain OSC did not!). I do suggest that if you don't use the .htaccess file that to DO MOVE THE ADMIN from the default directory (can't hack what they can't find).

    ie: Move /catalog/admin to a private or user domain (some host have this option) or some unguessable directory.

    to ~yourdomainusername/some/un/gues/sabl/edire/ctory/
    or else to /catalog/some/unguess/able/direct/ory/


    Problem #2

    Your host has some restriction in the php.ini or server file that prevents from using certain fuctions.... Turn it off or ask your host for you to be allowed the fuctions it requires... (they will shurly ask why....).

    OR move to a less restictive hosting provider like AABOX.com or FuturePoint.com


    Good Luck!
    JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
    Try out our osCMax at: Live Catalog Demo
    Limited access Admin: Live Admin Demo
    Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!

  3. #3
    Lurker
    Join Date
    Jun 2005
    Posts
    2
    Rep Power
    0


    Default RE: securing and storing database queries

    Thank you so much for replying, I got this accomplished now, thank you! well, problem 1 at least .....lol

Similar Threads

  1. So Many Queries so little time
    By delphi1 in forum osCmax v2 Customization/Mods
    Replies: 10
    Last Post: 11-07-2005, 05:02 AM
  2. securing admin? how do I do it?
    By gheffron in forum osCommerce 2.2 Installation Help
    Replies: 8
    Last Post: 08-02-2005, 01:13 AM
  3. sql queries overloading my hosts, what to do?
    By Anonymous in forum osCMax v1.7 Installation
    Replies: 1
    Last Post: 08-04-2004, 12:10 AM
  4. Page 13 - securing installation question ?
    By Anonymous in forum osCommerce 2.2 Installation Help
    Replies: 1
    Last Post: 11-29-2002, 09:25 AM
  5. Custom Queries
    By know in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 10-29-2002, 11:14 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
  •