Jump to ContentJump to Navigation/Login
` ` ` ` ` `

[Register]

Occasional ATutor release updates


    (6 guests in past 15 min.)

    Access Understanding Web Accessibility to learn about accessibility, or Register to take the course for FREE.

    Support Forums

    ATutor Bug Reports

    New install into subdomain


    You must be signed-in to post.

    AuthorSubject
      Page: 1
    dae
    Subject: New install into subdomainQuote this post in your reply
    Created a subdomain, then ran installation from there (from my_subdomain.my_domain.com)

    Everything was okay through the installation process, but when trying to access first time the system fails, with these messages on the screen:

    Warning: require(include/../themes/default/theme.cfg.php) [function.require]: failed to open stream: No such file or directory in /home/douglase/public_html/z_atutor/include/vitals.inc.php on line 257

    Fatal error: require() [function.require]: Failed opening required 'include/../themes/default/theme.cfg.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/douglase/public_html/z_atutor/include/vitals.inc.php on line 257

    Not sure what to fix, or if not possible to install into a subdomain. Looks like a path problem inside vitals.inc.php.
    Posted: 2009-09-25 16:03:23
    dae
    Subject: Re: New install into subdomainQuote this post in your reply
    I am going to try a fresh install on this issue.
    Posted: 2009-09-25 16:11:21
    dae
    Subject: Re: New install into subdomainQuote this post in your reply
    Fresh install, same error messages appear.
    Posted: 2009-09-25 16:28:09
    _Enrique
    Subject: Re: New install into subdomainQuote this post in your reply
    Hi.

    It's possible to install ATutor in a subdomain, I have it.

    I don't understand all the code of include\vitals.inc.php, and in my installation I haven't this problem. But I can see that the line 257 of this file has the sentence

    ----------------------------
    require(AT_INCLUDE_PATH . '../themes/' . $_SESSION['prefs']['PREF_THEME'] . '/theme.cfg.php');
    ----------------------------

    You can see that themes folder is in the root of your installation. So you can try deleting AT_INCLUDE_PATH. from this sentence to avoid your error message. Something like

    ----------------------------
    require('../themes/' . $_SESSION['prefs']['PREF_THEME'] . '/theme.cfg.php');
    ----------------------------

    will work.
    Posted: 2009-09-25 16:45:30
    greg

    Avatar for greg
    Subject: Re: New install into subdomainQuote this post in your reply
    Dae: did you upload the ATutor tar.gz file, then unpack it there, or the other way around. Use the former method.
    Posted: 2009-09-25 17:25:15
    _Enrique
    Subject: Re: New install into subdomainQuote this post in your reply
    Hi.

    I couldn't unzip the ATutor tar.gz file at the server and I found a solution to solve the transference errors: using SyncBack ( www.2brightsparks.com/downloads.html#freeware ). First I upload with SyncBack all the folder extracted and second I compared the contents of both folders, local and remote, and all was right.
    Posted: 2009-09-25 17:36:00
    dae
    Subject: Re: New install into subdomainQuote this post in your reply
    I am using IZArc on Windows. There must be a bug in it, because it skipped several directories when unpacking the tar file. Only 19 of 26 were unpacked.

    I just uploaded the packed file as you (Greg) suggested, and unpacked it on the host.

    Someone might try using IZArc on this file and see if they get the same results.

    Thanks.

    In reply to:
    Dae: did you upload the ATutor tar.gz file, then unpack it there, or the other way around. Use the former method.

    Posted: 2009-09-25 17:50:06
     Page: 1

    You must be signed-in to post.