Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2013
    Posts
    809
    Plugin Contributions
    0

    Default require not found

    php 7.0 and zen 1.56c
    from logs
    [11-May-2020 23:52:48 UTC] Request URI: /MYFAKEADMIN/product.php?action=new_product, IP address: ipaddress
    #1 require() called at [/var/www/clients/me/me/web/MYFAKEADMIN/product.php:101]
    --> PHP Warning: require(includes/modules/document_general/collect_info.php): failed to open stream: No such file or directory in /var/www/clients/me/me/web/MYFAKEADMIN/product.php on line 101.

    [11-May-2020 23:52:48 UTC] PHP Fatal error: require(): Failed opening required 'includes/modules/document_general/collect_info.php' (include_path='.:/usr/share/php') in /var/www/clients/client1/me/web/MYFAKEADMIN/product.php on line 101
    trying to add new product.
    line 101
    } elseif ($action == 'new_product') {
    require(DIR_WS_MODULES . $zc_products->get_handler($product_type) . '/collect_info.php');

  2. #2
    Join Date
    Jan 2013
    Posts
    809
    Plugin Contributions
    0

    Default Re: require not found

    i am able to copy products

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

    Default Re: require not found

    Quote Originally Posted by jimmie View Post
    PHP Warning: require(includes/modules/document_general/collect_info.php): failed to open stream: No such file or directory
    That error, initiated from your admin area, is telling you that you tried to do something that required
    the /YOUR_ADMIN/includes/modules/document_general/collect_info.php file, but it doesn't exist on your server.
    .

    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.

 

 

Similar Threads

  1. how do i access require($body_code) found in tpl_main_page.php?
    By tcarden in forum Customization from the Admin
    Replies: 2
    Last Post: 11 Dec 2012, 01:46 AM
  2. Admin 404 Not Found The requested URL was not found on this server
    By L.a.Willman in forum Installing on a Windows Server
    Replies: 23
    Last Post: 10 Jan 2012, 02:26 AM
  3. Error MessageWarning: require(includes/application_top.php) [function.require]: faile
    By valbuhagiar in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 31 Oct 2011, 07:44 PM
  4. 404 Not Found Page Not Found not working!
    By NamSingh in forum Basic Configuration
    Replies: 0
    Last Post: 15 Oct 2006, 10:31 AM
  5. Replies: 3
    Last Post: 4 Oct 2006, 07:29 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