Page 139 of 245 FirstFirst ... 3989129137138139140141149189239 ... LastLast
Results 1,381 to 1,390 of 2445
  1. #1381
    Join Date
    Nov 2013
    Location
    Cork, Ireland
    Posts
    9
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping v4.x

    Need a little help. I have installed the program and everythink i beleve is in the right place. The shop is working but when i try and log into the Admin page i get a 500 error.
    When i checked the filles i found:
    admin/includes/functions/extra_functions/ceon_uri_mapping_admin_page_reg.php
    was missing so i re uploaded it only to find if i log on to the Admin page it again deletes the file agail.
    Any Idea or help?

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

    Default Re: Ceon URI Mapping v4.x

    Quote Originally Posted by Paul66 View Post
    Need a little help. I have installed the program and everythink i beleve is in the right place. The shop is working but when i try and log into the Admin page i get a 500 error.
    When i checked the filles i found:
    admin/includes/functions/extra_functions/ceon_uri_mapping_admin_page_reg.php
    was missing so i re uploaded it only to find if i log on to the Admin page it again deletes the file agail.
    Any Idea or help?
    Error logs either in Zcs /logs or /cache folder or your server's error logs?

    I don't recall the functionality of that. File, but it could be that as part of the install it is supposed to get deleted. Said checked for presence of files, but confirmed 100% of contents were transferred? Also sure have applied the htaccess mods correctly?
    Last edited by mc12345678; 23 Nov 2013 at 07:55 PM.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #1383
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Ceon URI Mapping v4.x

    Quote Originally Posted by Paul66 View Post
    Need a little help. I have installed the program and everythink i beleve is in the right place. The shop is working but when i try and log into the Admin page i get a 500 error.
    When i checked the filles i found:
    admin/includes/functions/extra_functions/ceon_uri_mapping_admin_page_reg.php
    was missing so i re uploaded it only to find if i log on to the Admin page it again deletes the file agail.
    Any Idea or help?
    a look at this file there is code that VERY CLEARLY indicates that it DOES delete after the install
    Code:
    if ($can_autodelete) {
        // Either the config utility file has been registered, or it doesn't need to be. Can stop the wasteful process
        // of having this script run again by having it delete itself
        @unlink(DIR_WS_INCLUDES . 'functions/extra_functions/ceon_uri_mapping_admin_page_reg.php');
    }
    So THIS is not the issue.. I would re-check your install and make sure you have all the right files in the right places, and make sure that your .htaccess file is correctly configured and uploaded to the correct location.. Look at your error logs.. if there are any you should post the contents of the log files.

    You also need to provide some more details here.. Does your shop work?? Posting a URL and your .htaccess file (using the code tags so the forum software doesn't parse the contents) will minimize GUESSING at a solution..
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  4. #1384
    Join Date
    Nov 2013
    Location
    Cork, Ireland
    Posts
    9
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping v4.x

    Yes the shop does seem to be working. the contents of the error log are.

    [23-Nov-2013 19:15:39 UTC] PHP Warning: require(includes/functions/sessions.php): failed to open stream: No such file or directory in /home/shiny/public_html/shinycruiser.com/cruiseradmin/includes/init_includes/overrides/init_sessions.php on line 28
    [23-Nov-2013 19:15:39 UTC] PHP Fatal error: require(): Failed opening required 'includes/functions/sessions.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/shiny/public_html/shinycruiser.com/cruiseradmin/includes/init_includes/overrides/init_sessions.php on line 28
    Here is the contents of htaccess filr in the admin dir.
    @copyright Copyright 2003-2011 Zen Cart Development Team
    # @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    # @version $Id: .htaccess 19328 2011-08-06 22:53:47Z drbyte $
    #
    # This is used with Apache WebServers
    #
    # The following blocks direct HTTP requests to all filetypes in this directory recursively, except certain approved exceptions
    # It also prevents the ability of any scripts to run. No type of script, be it PHP, PERL or whatever, can normally be executed if ExecCGI is disabled.
    # Will also prevent people from seeing what is in the dir. and any sub-directories
    #
    # For this to work, you must include either 'All' or at least: 'Limit' and 'Indexes' parameters to the AllowOverride configuration in your apache/conf/httpd.conf file.
    # Additionally, if you want the added protection offered by the OPTIONS directive below, you'll need to add 'Options' to the AllowOverride list, if 'All' is not specified.
    # Example:
    #<Directory "/usr/local/apache/htdocs">
    # AllowOverride Limit Options Indexes
    #</Directory>
    ###############################
    DirectoryIndex index.php

    # deny *everything*
    <FilesMatch ".*\..*">
    Order Allow,Deny
    Deny from all
    </FilesMatch>

    # but now allow just *certain* necessary files:
    <FilesMatch "(^$|^favicon.ico$|.*\.(php|js|css|jpg|gif|png)$)">
    Order Allow,Deny
    Allow from all
    </FilesMatch>

    IndexIgnore */*


    # The following makes adjustments to the SSL protocol for Internet Explorer browsers
    <IfModule mod_setenvif.c>
    <IfDefine SSL>
    SetEnvIf User-Agent ".*MSIE.*" \
    nokeepalive ssl-unclean-shutdown \
    downgrade-1.0 force-response-1.0
    </IfDefine>
    </IfModule>

    #turn off X-PHP-Originating-Script header when sending emails from admin
    #uncomment to activate:
    # php_flag mail.add_x_header Off

  5. #1385
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Ceon URI Mapping v4.x

    This is AWFULLY hard to read since you are not using the forum code tags... (corrected your code posting so you can see the difference) I was not asking about the contents of the ADMIN .htaccess file.. I was looking for the contents of the SITE .htaccess file created by Ceon URI..

    That said, the error messages are not that mysterious to interpret here.. They indicate a MISSING file.. init_sessions.php makes a call to a file called sessions.php which is MISSING..

    This is likely the cause of your issue (not caused by this module at all)

    Finally you should NEVER post anything on this forum which gives away your secret admin folder name.. You should change the folder name, and going forward obscure the name of your admin folder when you post code on this forum..


    Quote Originally Posted by Paul66 View Post
    Yes the shop does seem to be working. the contents of the error log are.

    [23-Nov-2013 19:15:39 UTC] PHP Warning: require(includes/functions/sessions.php): failed to open stream: No such file or directory in /home/shiny/public_html/shinycruiser.com/cruiseradmin/includes/init_includes/overrides/init_sessions.php on line 28
    [23-Nov-2013 19:15:39 UTC] PHP Fatal error: require(): Failed opening required 'includes/functions/sessions.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/shiny/public_html/shinycruiser.com/cruiseradmin/includes/init_includes/overrides/init_sessions.php on line 28
    Here is the contents of htaccess filr in the admin dir.
    Code:
    @copyright Copyright 2003-2011 Zen Cart Development Team
    # @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    # @version $Id: .htaccess 19328 2011-08-06 22:53:47Z drbyte $
    #
    # This is used with Apache WebServers
    #
    # The following blocks direct HTTP requests to all filetypes in this directory recursively, except certain approved exceptions
    # It also prevents the ability of any scripts to run. No type of script, be it PHP, PERL or whatever, can normally be executed if ExecCGI is disabled.
    # Will also prevent people from seeing what is in the dir. and any sub-directories
    #
    # For this to work, you must include either 'All' or at least: 'Limit' and 'Indexes' parameters to the AllowOverride configuration in your apache/conf/httpd.conf file.
    # Additionally, if you want the added protection offered by the OPTIONS directive below, you'll need to add 'Options' to the AllowOverride list, if 'All' is not specified. 
    # Example:
    #<Directory "/usr/local/apache/htdocs">
    #  AllowOverride Limit Options Indexes
    #</Directory>
    ###############################
    DirectoryIndex index.php
    
    # deny *everything*
    <FilesMatch ".*\..*">
      Order Allow,Deny
      Deny from all
    </FilesMatch>
    
    # but now allow just *certain* necessary files:
    <FilesMatch "(^$|^favicon.ico$|.*\.(php|js|css|jpg|gif|png)$)">
      Order Allow,Deny
      Allow from all
    </FilesMatch>
    
    IndexIgnore */*
    
    
    # The following makes adjustments to the SSL protocol for Internet Explorer browsers
    <IfModule mod_setenvif.c>
      <IfDefine SSL>
        SetEnvIf User-Agent ".*MSIE.*" \
                 nokeepalive ssl-unclean-shutdown \
                 downgrade-1.0 force-response-1.0
      </IfDefine>
    </IfModule>
    
    #turn off X-PHP-Originating-Script header when sending emails from admin
    #uncomment to activate:
    # php_flag mail.add_x_header Off
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  6. #1386
    Join Date
    Mar 2007
    Posts
    250
    Plugin Contributions
    6

    Default Re: Ceon URI Mapping v4.x

    Hi all,

    zen 1.5.0
    many mods including:
    multisite
    bundles
    big_spender
    ceon_shipper
    ceon_uri

    have a little issue, hope you can help.

    On the shopping cart page where items are listed, zen gives a link for each item to be taken back to it.
    problem appears that I have an issue with Connors ceon href builder class links when the product contains attributes.
    For example:

    product url:
    www.mydomain.com/fuzzybear

    add that product to shopping cart, with a selected attribute.
    when in the shopping cart, click on the image or textlink to go back to that product and the provided link is similar to:

    http://www.mydomain.com/fuzzybear?pr...2e832205129deb

    which if you click on comes back to the correct page of product "fuzzybear" but gives a

    WARNING: An Error occurred, please refresh the page and try again.

    Could someone check their install and see if they get same thing please!

  7. #1387
    Join Date
    Mar 2007
    Posts
    250
    Plugin Contributions
    6

    Default Re: Ceon URI Mapping v4.x

    further info to make it easier.
    not sure if i just become lazy and change line 274 in the includes/classes/ceonHreflinkbuilder.php

    Code:
            if (strpos($product_query_pair, ':') === false) {
                            // Remove product ID from query string unless it includes information about selected
                            // attributes (which is added when linking from shopping cart to product info page)
                            $parameters = str_replace($product_query_pair . '&', '', $parameters);
                            $parameters = str_replace($product_query_pair, '', $parameters);
                        }
    so that it just doesn't give the parameters in the link.

    Or i start digging into my tpl_product_info_display.php file to see if something there is not dealing with the paramters that Connor correctly passed back..he was rarely wrong.

  8. #1388
    Join Date
    Jul 2012
    Posts
    16,799
    Plugin Contributions
    17

    Default Re: Ceon URI Mapping v4.x

    Quote Originally Posted by Calljj View Post
    further info to make it easier.
    not sure if i just become lazy and change line 274 in the includes/classes/ceonHreflinkbuilder.php

    Code:
            if (strpos($product_query_pair, ':') === false) {
                            // Remove product ID from query string unless it includes information about selected
                            // attributes (which is added when linking from shopping cart to product info page)
                            $parameters = str_replace($product_query_pair . '&', '', $parameters);
                            $parameters = str_replace($product_query_pair, '', $parameters);
                        }
    so that it just doesn't give the parameters in the link.

    Or i start digging into my tpl_product_info_display.php file to see if something there is not dealing with the paramters that Connor correctly passed back..he was rarely wrong.
    So, just checked my site, added an item that had one parameter associated and was able to return to product displayed with the attribute selected even. I have a version of stock by attributes installed, but would say that it is not CEON URI that is the issue, but something else. Suggest ng a new thread or branch off of your template's thread, as this is not a problem with this plugin.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  9. #1389
    Join Date
    Mar 2007
    Posts
    250
    Plugin Contributions
    6

    Default Re: Ceon URI Mapping v4.x

    All sorted, sometimes typing it for others make the problem much clearer.
    my issue was i was referring to the $_GET['products_id'] variable for a custom coupon image display, and hadn't included the (int) infront of it during a query, therefore the query was falling over as the attribute info was being pulled in at the same time. nothing to do with the ceon uri module.
    Thanks for putting up with my written drivel and once again, Conor was right.

  10. #1390
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Ceon URI Mapping v4.x

    Quote Originally Posted by Calljj View Post
    and once again, Conor was right.
    He usually was...
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

 

 

Similar Threads

  1. v139d Ceon uri mapping, how to generate uri mapping for bulk bulk-imported products?
    By mybiz9999 in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 8 Jan 2013, 06:52 AM
  2. CEON URI Mapping
    By jmkent in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 22 Nov 2012, 04:28 PM
  3. Ceon URI Mapping (SEO)
    By conor in forum All Other Contributions/Addons
    Replies: 2906
    Last Post: 9 Sep 2011, 08:31 AM
  4. Ceon URI Mapping v4
    By conor in forum All Other Contributions/Addons
    Replies: 110
    Last Post: 14 Aug 2011, 02:51 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