Results 1 to 10 of 2247

Hybrid View

  1. #1
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,845
    Plugin Contributions
    25

    Default Re: MultiSite Module Support Thread

    Quote Originally Posted by simon1066 View Post
    Trying to activate CJ Loader (css/js minimizer) with Multisite and the combined css file gives the following errors:

    ---------------------------------------------------------------------------
    Warning: include_once(includes/config_sites/sites_switch.php) [function.include-once]: failed to open stream: No such file or directory in /home/myusername/public_html/mydomain.com/includes/configure.php on line 13

    Warning: include_once() [function.include]: Failed opening 'includes/config_sites/sites_switch.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/myusername/public_html/mydomain.com/includes/configure.php on line 13

    Warning: ini_set() [ref.outcontrol]: Cannot change zlib.output_compression - headers already sent in /home/myusername/public_html/mydomain.com/min/config.php on line 161

    Warning: Cannot modify header information - headers already sent by (output started at /home/myusername/public_html/mydomain.com/includes/configure.php:13) in /home/myusername/public_html/mydomain.com/min/index.php on line 61
    ---------------------------------------------------------------------------

    I think these point to the

    include_once('includes/config_sites/sites_switch.php'); which is on line 13 of my configure.php

    Rather oddly, the minimizer seems to work on my local server copy without a problem (I'll compare all local files to the live files in case that highlights something).

    Anyone have any ideas?
    Have you already checked, if the file is indeed in place?

  2. #2
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,303
    Plugin Contributions
    1

    Default Re: MultiSite Module Support Thread

    Quote Originally Posted by Design75 View Post
    Have you already checked, if the file is indeed in place?
    If you're referring to whether I have the sites_switch.php in place, then yes I have it, I didn't believe that to be the issue - more the effect it's function had on the minimizer (or vice versa).

    I was really meaning that I would 'blindly' compare ALL files on the two servers to see if there was any little thing that might be causing it. Still got to to do this though.

  3. #3
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,303
    Plugin Contributions
    1

    Default Re: MultiSite Module Support Thread

    Ok, so now I have both live and local copies with the same database and the same files, minimize still breaks my css on the live site.

    It must therefore be server related, perhaps to do with the way my subdomains are set up - off to investigate further.

    If anyone else has experienced and cured this problem it would be good to hear from you.

  4. #4
    Join Date
    Dec 2008
    Posts
    36
    Plugin Contributions
    0

    Default Re: MultiSite Module Support Thread

    hi,
    after i installed the multisites for my zencart v1.5.1, the ultimate seo url got problem. when i click any category, it display 404 Error File Not Found but the url is displaying correctly.(i mean the url still can show xxx.com/category-c-1/).
    If i disable the ultimate seo url , then the multisites work fine!
    Anyone could help me out?
    Thanks in advance!

  5. #5
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,303
    Plugin Contributions
    1

    Default Re: MultiSite Module Support Thread

    Quote Originally Posted by caborela View Post
    hi,
    after i installed the multisites for my zencart v1.5.1, the ultimate seo url got problem. when i click any category, it display 404 Error File Not Found but the url is displaying correctly.(i mean the url still can show xxx.com/category-c-1/).
    If i disable the ultimate seo url , then the multisites work fine!
    Anyone could help me out?
    Thanks in advance!
    I think it might have something to do with .htaccess settings. I only say this because CEON URI Mapping, which I use, has the following code in that file:

    Code:
    ## BEGIN CEON URI MAPPING REWRITE RULE
    
    RewriteEngine On
    
    # Don't rewrite any URIs ending with a file extension (ending with .[xxxxx])
    RewriteCond %{REQUEST_URI} !\.[a-z]{2,5}$ [NC]
    # Don't rewrite any URIs for some, popular specific file format extensions,
    #   which are not covered by main file extension condition above
    RewriteCond %{REQUEST_URI} !\.(mp3|mp4|h264)$ [NC]
    # Don't rewrite any URIs for some specific file format extensions,
    #   which are not covered by main file extension condition above
    #   Uncomment the following line to apply this condition! (Remove the # at the start of the next line)
    #RewriteCond %{REQUEST_URI} !\.(3gp|3g2|h261|h263|mj2|mjp2|mp4v|mpg4|m1v|m2v|m4u|f4v|m4v|3dml)$ [NC]
    # Don't rewrite admin directory
    RewriteCond %{REQUEST_URI} !^/my_admin [NC]
    # Don't rewrite editors directory
    RewriteCond %{REQUEST_URI} !^/editors/ [NC]
    # Don't rewrite cgi-bin directory
    RewriteCond %{REQUEST_URI} !^/cgi\-bin/ [NC]
    # Don't rewrite css directory
    RewriteCond %{REQUEST_URI} !^/css/ [NC]
    # Don't rewrite logs directory
    RewriteCond %{REQUEST_URI} !^/logs/ [NC]
    # Don't rewrite OLD directory
    RewriteCond %{REQUEST_URI} !^/OLD/ [NC]
    # Don't rewrite sitemap directory
    RewriteCond %{REQUEST_URI} !^/sitemap/ [NC]
    # Handle all other URIs using Zen Cart (its index.php)
    RewriteRule .* index.php [QSA,L]
    
    ## END CEON URI MAPPING REWRITE RULE
    Removing this gives a 'file not found' error (with the url displaying correctly), so perhaps Ultimate SEO needs something similar?

    That's as much as I know.

  6. #6
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,845
    Plugin Contributions
    25

    Default Re: MultiSite Module Support Thread

    Quote Originally Posted by simon1066 View Post
    I think it might have something to do with .htaccess settings. I only say this because CEON URI Mapping, which I use, has the following code in that file:

    Code:
    ## BEGIN CEON URI MAPPING REWRITE RULE
    
    RewriteEngine On
    
    # Don't rewrite any URIs ending with a file extension (ending with .[xxxxx])
    RewriteCond %{REQUEST_URI} !\.[a-z]{2,5}$ [NC]
    # Don't rewrite any URIs for some, popular specific file format extensions,
    #   which are not covered by main file extension condition above
    RewriteCond %{REQUEST_URI} !\.(mp3|mp4|h264)$ [NC]
    # Don't rewrite any URIs for some specific file format extensions,
    #   which are not covered by main file extension condition above
    #   Uncomment the following line to apply this condition! (Remove the # at the start of the next line)
    #RewriteCond %{REQUEST_URI} !\.(3gp|3g2|h261|h263|mj2|mjp2|mp4v|mpg4|m1v|m2v|m4u|f4v|m4v|3dml)$ [NC]
    # Don't rewrite admin directory
    RewriteCond %{REQUEST_URI} !^/my_admin [NC]
    # Don't rewrite editors directory
    RewriteCond %{REQUEST_URI} !^/editors/ [NC]
    # Don't rewrite cgi-bin directory
    RewriteCond %{REQUEST_URI} !^/cgi\-bin/ [NC]
    # Don't rewrite css directory
    RewriteCond %{REQUEST_URI} !^/css/ [NC]
    # Don't rewrite logs directory
    RewriteCond %{REQUEST_URI} !^/logs/ [NC]
    # Don't rewrite OLD directory
    RewriteCond %{REQUEST_URI} !^/OLD/ [NC]
    # Don't rewrite sitemap directory
    RewriteCond %{REQUEST_URI} !^/sitemap/ [NC]
    # Handle all other URIs using Zen Cart (its index.php)
    RewriteRule .* index.php [QSA,L]
    
    ## END CEON URI MAPPING REWRITE RULE
    Removing this gives a 'file not found' error (with the url displaying correctly), so perhaps Ultimate SEO needs something similar?

    That's as much as I know.
    Cant help here much either, because I do not use so called SEO modules

  7. #7
    Join Date
    Dec 2008
    Posts
    36
    Plugin Contributions
    0

    Default Re: MultiSite Module Support Thread

    Thanks trying to help! i really appreicate!

    the problem got solved after i re-installed the module. i think somehow i uploaded the wrong .htaccess file before!

  8. #8
    Join Date
    Feb 2013
    Posts
    345
    Plugin Contributions
    0

    Default Re: MultiSite Module Support Thread

    just can't figure this one out.. i have this module working perfectly for 10 'sub sites'.. in fact i just added one the other day and it works great.. but i have been trying to add another domain and can't get it to work.. the process is the same:

    1. create an addon domain
    2. create a config_sites file for both the www and non-www versions
    3. point the domain to my main sites IP address

    and then the site comes up.. but not for this one.. the only difference is this is a .net site and when i created the addon domain, i created a username different than the domain name.. for example all the other usernames were exactly like the username.. so for www.xxxx.com the username would be xxxx but for this domain i used something different.

    any help before i bang my head again..

  9. #9
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,845
    Plugin Contributions
    25

    Default Re: MultiSite Module Support Thread

    Quote Originally Posted by lidlchris View Post
    just can't figure this one out.. i have this module working perfectly for 10 'sub sites'.. in fact i just added one the other day and it works great.. but i have been trying to add another domain and can't get it to work.. the process is the same:

    1. create an addon domain
    2. create a config_sites file for both the www and non-www versions
    3. point the domain to my main sites IP address

    and then the site comes up.. but not for this one.. the only difference is this is a .net site and when i created the addon domain, i created a username different than the domain name.. for example all the other usernames were exactly like the username.. so for www.xxxx.com the username would be xxxx but for this domain i used something different.

    any help before i bang my head again..
    If the domain is pointed / redirected to the same public_html folder as the the domains it should work.

 

 

Similar Threads

  1. v154 WorldPay Module version 3.0 - Support thread
    By countrycharm in forum Addon Payment Modules
    Replies: 116
    Last Post: 31 Dec 2025, 11:36 AM
  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

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