Page 225 of 225 FirstFirst ... 125175215223224225
Results 2,241 to 2,242 of 2242
  1. #2241
    Join Date
    Aug 2013
    Location
    Perth, WA, AU
    Posts
    256
    Plugin Contributions
    4

    Default Re: MultiSite Module Support Forum

    Quote Originally Posted by ideasgirl View Post
    Hello, I've been using this module since version 1.0 and I'm doing an update from 1.5.5 to 2.1

    The logs will show an error unless I change the line 29 of admin/multisite.php

    from this:

    PHP Code:
    while($multisite_cat_desc[0]=="\n") { 
    to this:
    PHP Code:
    while (!empty($multisite_cat_desc) && $multisite_cat_desc[0] == "\n") { 
    Also, when assigning categories on the MultiSite Tool, I have a ">->-" before the name of the site assigned. In the previous version, those symbols didn't appear there. Is there a way to get rid of them?

    I figured out the >->- issue I think.

    In YOUR_ADMIN/multsite.php, around line 224

    change -

    $multisite_cat_sites[]=substr($multisite_comment,4,strlen($multisite_comment)-4); //remove html comment

    to this -

    $multisite_cat_sites[]=substr($multisite_comment,4,strlen($multisite_comment)-5); //remove html comment


    this wont clean up the mess, but should prevent it happening further.
    Last edited by royaldave; 16 Jun 2025 at 08:13 AM.

  2. #2242
    Join Date
    Jun 2008
    Location
    Japan
    Posts
    221
    Plugin Contributions
    7

    Default Re: MultiSite Module Support Forum

    Quote Originally Posted by royaldave View Post
    I figured out the >->- issue I think.

    In YOUR_ADMIN/multsite.php, around line 224

    change -

    $multisite_cat_sites[]=substr($multisite_comment,4,strlen($multisite_comment)-4); //remove html comment

    to this -

    $multisite_cat_sites[]=substr($multisite_comment,4,strlen($multisite_comment)-5); //remove html comment


    this wont clean up the mess, but should prevent it happening further.
    This code is weird...
    substr($variable,4); does exactly the same as substr($variable,4,strlen($variable)-4);
    And same with this:
    substr($variable,4,-1); does exactly the same as substr($variable,4,strlen($variable)-5);

    Perhaps you can do what you want (which I am not sure what is it) with this: substr($multisite_comment,4,-4);
    Last edited by pilou2; 16 Jun 2025 at 04:15 PM.

 

 

Similar Threads

  1. v154 WorldPay Module version 3.0 - Support thread
    By countrycharm in forum Addon Payment Modules
    Replies: 115
    Last Post: 20 Jul 2021, 04:00 PM
  2. Bambora/Beanstream Payment Module Support Thread
    By swguy in forum Addon Payment Modules
    Replies: 127
    Last Post: 26 Mar 2021, 04:13 PM
  3. WorldPay Module version 2.0 - Support thread
    By philip_clarke in forum Addon Payment Modules
    Replies: 729
    Last Post: 4 Nov 2017, 08:23 AM
  4. PC Configurator Module [Support Thread]
    By lebrand2006 in forum All Other Contributions/Addons
    Replies: 254
    Last Post: 22 Aug 2012, 03:52 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