Community Forums

Community Discussions

Multi site setup


You must be signed-in to post.

AuthorSubject
 
Page: 1 | 2
amboycharlie
Subject: Multi site setupQuote this post in your reply
If you are asking for help, provide lots of detail so problems can be reproduced.

Things to describe:
Operating system ATutor is installed on - linux
ATutor version - 2.1.1
Patch #s applied - no
ATutor theme name - default
PHP version - 5.2.17
MySQL version - don't know
Webserver & version - Apache
Copies of error messages - At manage subsites -> Cannot find the multisite config file "../../include/config_multisite.inc.php". Open the "Initial Configuration" tab above and follow the directions to create it and setup your ATutor site to accommodate subsites.

That has all been done.

Does it require php 5.4?




Changes to default settings -
Web browser being used -
...and anything else relevant -
Posted: 2013-03-19 07:29:50
greg

Avatar for greg
Subject: Re: Multi site setupQuote this post in your reply
No you don't need php 5.4. Php 5.2* should be okay.

Check manually to see if the config_multisite.php file exits in the main include/ directory of ATutor. If not create an empty one and make it writable then run the multisite config again.
Posted: 2013-03-19 09:32:19
amboycharlie
Subject: Re: Multi site setupQuote this post in your reply
If you are asking for help, provide lots of detail so problems can be reproduced.

Things to describe:
Operating system ATutor is installed on -
ATutor version -
Patch #s applied -
ATutor theme name -
PHP version -
MySQL version -
Webserver & version -
Copies of error messages -
Changes to default settings -
Web browser being used -
...and anything else relevant -

I found nothing in the manual concerning multi-site set-up. But I did do as you suggested with the config file and it would not write it. It maybe that there was a problem with the server as it wouldn't accept a data dump into AContent either. I need to ascertain that this morning.
Posted: 2013-03-19 19:57:00
amboycharlie
Subject: Re: Multi site setupQuote this post in your reply
If you are asking for help, provide lots of detail so problems can be reproduced.

Things to describe:
Operating system ATutor is installed on -
ATutor version -
Patch #s applied -
ATutor theme name -
PHP version -
MySQL version -
Webserver & version -
Copies of error messages -
Changes to default settings -
Web browser being used -
...and anything else relevant -

This was the result this morning when I clicked Manage Multisite in Admin
Fatal error: require() [<a href='function.require'>function.require</a>]: Cannot redeclare class languagemanager in /.../.../.../include/vitals.inc.php on line 202
Posted: 2013-03-19 20:06:14
amboycharlie
Subject: Re: Multi site setupQuote this post in your reply
If you are asking for help, provide lots of detail so problems can be reproduced.

Things to describe:
Operating system ATutor is installed on -
ATutor version -
Patch #s applied -
ATutor theme name -
PHP version -
MySQL version -
Webserver & version -
Copies of error messages - The following errors occurred:
Table AT_IF creation failed.
Changes to default settings -
Web browser being used -
...and anything else relevant -

Resolved one problem, still have another -> see error message.
Posted: 2013-03-19 21:52:14
greg

Avatar for greg
Subject: Re: Multi site setupQuote this post in your reply
I can't reproduce the error myself. You might try changing "require" to "require_once" on line 202 in the vitals.inc.php file.
Posted: 2013-03-20 09:38:58
amboycharlie
Subject: Re: Multi site setupQuote this post in your reply
If you are asking for help, provide lots of detail so problems can be reproduced.

Things to describe:
Operating system ATutor is installed on -
ATutor version -
Patch #s applied -
ATutor theme name -
PHP version -
MySQL version -
Webserver & version -
Copies of error messages -
Changes to default settings -
Web browser being used -
...and anything else relevant -

Ok I'll try it.

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/content/44/5552344/html/isensei/include/install/install.inc.php on line 429

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/content/44/5552344/html/isensei/include/install/install.inc.php on line 430

Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /home/content/44/5552344/html/isensei/include/install/install.inc.php on line 440

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/content/44/5552344/html/isensei/include/install/install.inc.php on line 442

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/content/44/5552344/html/isensei/include/classes/sqlutility.class.php on line 192

Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in /home/content/44/5552344/html/isensei/include/classes/sqlutility.class.php on line 201

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/content/44/5552344/html/isensei/include/lib/mysql_connect.inc.php on line 75


The following errors occurred:
[ AT_ERROR_UNABLE_CONNECT_DB ]
[ AT_ERROR_LOW_MYSQL_VERSION ]
Unable to select or create database multisitetsc.
Table AT_IF creation failed.

[ AT_ERROR_LOW_MYSQL_VERSION ] Perhaps that's the problem.
Not sure what the version is. godaddy does not say.
Posted: 2013-03-20 19:48:35
amboycharlie
Subject: Re: Multi site setupQuote this post in your reply
If you are asking for help, provide lots of detail so problems can be reproduced.

Things to describe:
Operating system ATutor is installed on -
ATutor version -
Patch #s applied -
ATutor theme name -
PHP version -
MySQL version - Found it Version 5
Webserver & version -
Copies of error messages -
Changes to default settings -
Web browser being used -
...and anything else relevant -

So MySql version is not the problem even though the warning says it is.

Problem found. Thank you for your help.
Posted: 2013-03-20 20:06:25
amboycharlie
Subject: Re: Multi site setupQuote this post in your reply
If you are asking for help, provide lots of detail so problems can be reproduced.

Things to describe:
Operating system ATutor is installed on -
ATutor version -
Patch #s applied -
ATutor theme name -
PHP version -
MySQL version -
Webserver & version -
Copies of error messages -
Changes to default settings -
Web browser being used -
...and anything else relevant -

I was wrong. I thought I found the problem because I was missing a letter in my database name, but I corrected that and still get the same series of error messages.
Posted: 2013-03-20 20:13:18
amboycharlie
Subject: Re: Multi site setupQuote this post in your reply
If you are asking for help, provide lots of detail so problems can be reproduced.

Things to describe:
Operating system ATutor is installed on -
ATutor version -
Patch #s applied -
ATutor theme name -
PHP version -
MySQL version -
Webserver & version -
Copies of error messages -
Changes to default settings -
Web browser being used -
...and anything else relevant -

Calling for the ATutor/install/install.inc file would seem to indicate a fresh install, as that folder should be removed following installation. Should everything be re-installed on a new database, or is it enough to create a separate database for the multisite mod, or can the multisite mod go on the existing database? This is all very confusing to me.
Posted: 2013-03-20 20:32:14
greg

Avatar for greg
Subject: Re: Multi site setupQuote this post in your reply
Seems like you've got something wrong. You did see the Multisite readme file, correct?

ATutor/install/install.inc.php no longer exists since 2.1. The common files used by the ATutor installer and the multisite installer now exist in ATutor/include/install/

You can still delete ATutor/install/ without affecting multisite.

The multisite module db should exist outside the main ATutor site. It probably could exist in the main site's db, though I'm not certain of the consequences.

FYI I did an upgrade on a godaddy site yesterday with no problems. Is that where you are trying to setup multisite? Are you able to setup the wildcard domain there? I'd be interested to hear if you can.
Posted: 2013-03-21 18:13:25
amboycharlie
Subject: Re: Multi site setupQuote this post in your reply
If you are asking for help, provide lots of detail so problems can be reproduced.

Things to describe:
Operating system ATutor is installed on -
ATutor version -
Patch #s applied -
ATutor theme name -
PHP version -
MySQL version -
Webserver & version -
Copies of error messages -
Changes to default settings -
Web browser being used -
...and anything else relevant -

I put the AT_site db into the main database. That may be the problem.
I will try to remove it from there and set it up on the separate db.
Posted: 2013-03-21 20:04:52
amboycharlie
Subject: Re: Multi site setupQuote this post in your reply
If you are asking for help, provide lots of detail so problems can be reproduced.

Things to describe:
Operating system ATutor is installed on -
ATutor version -
Patch #s applied -
ATutor theme name -
PHP version -
MySQL version -
Webserver & version -
Copies of error messages -
Changes to default settings -
Web browser being used -
...and anything else relevant -

Part of the problem I am having is that the ReadMe doesn't make it clear what I need to do. I didn't know what to do with the first step. I tried writing the directions the .htaccess and it shut down everything. So I took it out of there. is it a C came change? a subdomain? I don't know. That may be what is holding me up.

When I set up multiple blogs on wordpress, I had to to do a mod rewrite and put some instructions in the .htaccess file. It took about twenty minutes. The directions were very specific and easy to follow.

Your directions are so obscure I have devoted a full day to messing with it and wasted plenty of your time, and still can't figure out what the read me wants me to do.
Posted: 2013-03-21 22:05:13
greg

Avatar for greg
Subject: Re: Multi site setupQuote this post in your reply
Setting up a multisite requires someone with system administrator knowledge to create the the domain. It can not go into a .htaccess file.

The readme was not written for a typical ATutor user. A sysadmin will understand the directions.
Posted: 2013-03-22 07:05:07
tdawson
Subject: Re: Multi site setupQuote this post in your reply
Saved me hours of troubleshooting. Big help, thanks!
Posted: 2015-03-03 21:30:45
 
Page: 1 | 2

You must be signed-in to post.

Related Articles