Results 1 to 10 of 10
  1. #1
    Join Date
    Sep 2004
    Posts
    187
    Plugin Contributions
    0

    Default Zen-Cart on Powweb

    I was running Zen-cart fine for a long time until Powweb was aquired by someone else. Since then, it has been a big hassle, and digital downloads no longer work.
    I have to choose between a new host or a new ecommerce solution. But first, can you respond to Powweb's response - maybe there is a workaround somewhere?

    Thank you.

    It has been determined that the methods used by ZenCart to offer digital downloads are not compatible on our platform. ZenCart uses two methods to download a product:


    1) Use fread() (http://www.php.net/fread) or readfile() (http://www.php.net/readfile) to read the file into memory and send it directly to the browser. This fails for either one of two reasons. It either hits our allowed memory limit or the script execution takes longer than the
    allowed 60 seconds. But there are some instances where neither of the limitations are hit and the download fails regardless. There is no known solution for this.


    2) Use a temporary redirect to a copy of the actual file. As far as system resources go, this is the preferred method of downloading the files. However, ZenCart places these temporary files in a directory that begins with a period (i.e. htdocs/download/.ehwpuseaf8s/file.zip). Our security measures do not allow requests to be made to a file or directory that begins with a period. A potential workaround that the you might look into is modifying the Zencart code to use temporary directory names that do not begin with a period.


    If you have any further questions, please don't hesitate to contact us. We are available 24/7.

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Zen-Cart on Powweb

    Sounds like it might be time to move on to a hosting site that understands the needs of e-commerce sites better ...

    You may with to peek at the Zen Cart Certified Hosting sites ... they are better able to handle the needs of an e-commerce site for php, MySQL, larger downloads/uploads, etc. as they are familiar with what you need available on your site ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Sep 2004
    Posts
    187
    Plugin Contributions
    0

    Default Re: Zen-Cart on Powweb

    Quote Originally Posted by Ajeh
    Sounds like it might be time to move on to a hosting site that understands the needs of e-commerce sites better ...

    You may with to peek at the Zen Cart Certified Hosting sites ... they are better able to handle the needs of an e-commerce site for php, MySQL, larger downloads/uploads, etc. as they are familiar with what you need available on your site ...
    Can you explain why Powweb consider the dot before the directory in Pub to be a security issue?

    Why is the dot necessary...and is there a place that I can "remove" it to at least see if that's what causing the issue?

    thanks
    Vin

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Zen-Cart on Powweb

    You'd have to ask them to explain the methods to their mad ... er ... umm ... reasoning behind the things that they do ...

    Every hosting site believes that they "know" what is best ...

    Unfortunately, some base that on what is best for them vs what is best for you ...

    You will find our Certified Hostings Sites a lot more on the ball with your specific needs ...

    Otherwise, they would catch heck here and slink off into the sunset ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #5
    Join Date
    Sep 2004
    Posts
    187
    Plugin Contributions
    0

    Default Re: Zen-Cart on Powweb

    Linda,
    I appreciate your comments, and when my term runs out in a few months I will be switching.

    But in the meantime, can you briefly explain why the dot is necessary in the pub sub-directory - the logic behind it. And if there is a quick workaround for the time being?

    Thank you.

  6. #6
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Zen-Cart on Powweb

    the htaccess file is a directory that you can use to over ride certian functions
    you can use it to turn globals exec() etc off and ON

    SO, they dont want you being able to over ride what they decided on for global settings.

    but in doing so they have limited your abilities to use things like the IP ban
    mod re-write and so forth,
    they have limited the ability for you to totally deny access to certain folders.


    I hope this clears up a few things
    Zen cart PCI compliant Hosting

  7. #7
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Zen-Cart on Powweb

    Files or folders starting with a dot are treated as "hidden" by the filesystem (linux/unix/etc).

    It's possible that they feel their servers aren't secure enough if they allow browser traffic to access those hidden folders.

    Zen Cart uses the hidden folder very intentionally ... so that anybody trying to hack the site has difficulty finding the hidden items.



    If you must remove the dot, you'll have to manually edit a core file:
    /includes/modules/pages/download/header_php.php
    around line 71 you see:
    Code:
    function zen_random_name()
    {
      $letters = 'abcdefghijklmnopqrstuvwxyz';
      $dirname = '.';
    change that $dirname = '.'; by removing the dot
    .

    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
    Sep 2004
    Posts
    187
    Plugin Contributions
    0

    Default Re: Zen-Cart on Powweb

    Merlinpa1969: I know what htaccess is, but that wasn't the question

    DrByte: Problem resolved. I removed the dot and everything now works. I assume the downloaded file is moved into that gibberish folder "during" the download, and is then removed...because I always see that temporary folder empty.

  9. #9
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Zen-Cart on Powweb

    Quote Originally Posted by notset4life
    I assume the downloaded file is moved into that gibberish folder "during" the download, and is then removed...because I always see that temporary folder empty.
    A "pointer" to the real download file is placed in that folder. Called a symlink.
    During the "next" download, the links are cleaned up so things are kept clean and secure as much as possible.
    .

    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.

  10. #10
    Join Date
    Aug 2007
    Location
    Tampa FL.
    Posts
    142
    Plugin Contributions
    0

    Default Re: Zen-Cart on Powweb

    hi all,

    Powweb's php5 or php4 is run as a gui witch also has php mem isues, if you edit your php.ini
    down about half way you will find

    ; Resource Limits ;
    ;;;;;;;;;;;;;;;;;;;

    max_execution_time = 300 ; Maximum execution time of each script, in seconds
    max_input_time = 60 ; Maximum amount of time each script may spend parsing request data
    memory_limit = 8M ; Maximum amount of memory a script may consume

    change (memory_limit = 20M ; )

    make sure the M is caps

    it helped me

 

 

Similar Threads

  1. Contact Us Email not received - powweb hosting
    By bluelion in forum General Questions
    Replies: 3
    Last Post: 30 Jul 2008, 06:34 PM
  2. Can Zencart/Powweb Host Music
    By port city amps in forum General Questions
    Replies: 0
    Last Post: 22 Dec 2006, 04:19 PM

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