Moodle 2.7 Install

36 views
Skip to first unread message

mykl john

unread,
Jul 9, 2015, 3:07:27 AM7/9/15
to ck-e...@googlegroups.com
OK, I continued with the install

following steps 
11. Pick the [Admin/Setup] choice at the top header menu.
12. Choose action 1 - Install Initial System
13. Press [Start Action] button.
14. Choose the appropriate Chart of Accounts to install
15. Press [Start Action] button again.

this is the html of the page

<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><link href="../ck-theme/ck-erp.burlywood-moodle.css" rel="stylesheet" type="text/css"></head><body>

the directory of ck_theme is empty

any help would be greatly appreciated.

Mykl


C K Wu

unread,
Jul 9, 2015, 11:37:28 AM7/9/15
to ck-e...@googlegroups.com
Hi, Mykl,

This is most likely due to a php error being encountered during script execution.  Have a look at your webserver's error log and see what was being recorded at around the time the page was being accessed.

The directory, /ck-theme/, is meant to be empty.

At CK-ERP's demo site, ck-erp.net, there is a specific notification indicating,

"Demonstrated color theme is not included in the standard CK-ERP distribution"

Best Regards,
CK
--
You received this message because you are subscribed to the Google Groups "CK-ERP (English)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ck-erp-en+...@googlegroups.com.
To post to this group, send email to ck-e...@googlegroups.com.
Visit this group at http://groups.google.com/group/ck-erp-en.
For more options, visit https://groups.google.com/d/optout.

mykl john

unread,
Jul 10, 2015, 9:51:46 AM7/10/15
to ck-e...@googlegroups.com
Here is the error log that was created

[Fri Jul 10 00:53:26 2015] [error] [client 187.186.196.237] File does not exist: /home1/globo/public_html/classrooms_test/admin/ck-theme/ck-erp.burlywood-moodle.css, referer: http://www.globoworld.org/classrooms_test/admin/ck-admin/adminfilter_validate.php?&ck_theme=burlywood-moodle
[Fri Jul 10 00:53:18 2015] [error] [client 187.186.196.237] File does not exist: /home1/globo/public_html/classrooms_test/admin/ck-theme/ck-erp.burlywood-moodle.css, referer: http://www.globo.org/classrooms_test/admin/ck-admin/adminfilter.php?&ck_theme=burlywood-moodle
[Fri Jul 10 00:53:13 2015] [error] [client 187.186.196.237] File does not exist: /home1/globo/public_html/classrooms_test/admin/ck-theme/ck-erp.burlywood-moodle.css, referer: http://www.globo.org/classrooms_test/admin/ck-admin/adminfilter.php?&ck_theme=burlywood-moodle
[Fri Jul 10 00:53:04 2015] [error] [client 187.186.196.237] File does not exist: /home1/globo/public_html/classrooms_test/admin/ck-theme/ck-erp.burlywood-moodle.css, referer: http://www.globo.org/classrooms_test/admin/ck-admin/index.php

Should I comment out the call to the css?

C K Wu

unread,
Jul 10, 2015, 10:27:19 AM7/10/15
to ck-e...@googlegroups.com
Hi, Mykl,

I doubt if the absence of the css file would have cause the blank screen problem.  Because,

a)    I had specifically tested the [lack of .css] case, and the test result was OK.
b)    You have apparently gone through step 11, 12, 13, 14 successfully.  All these steps would have called the same css file, and it is perhaps why you have four lines of 'File does not exist' message, showing that the error is being detected, reported, but not fatal.

To allow more pertinent error messages, I would suggest creating a dummy css file,

# touch (directory path)/ck-theme/ck-erp.burlywood-moodle.css

and see what other error messages pop up in the error log.

Btw, I have never tested CK-ERP 0.31.1 against Moodle 2.7, so it may just be that the two software don't play well together.

Best Regards,
CK

mykl john

unread,
Jul 10, 2015, 9:26:07 PM7/10/15
to ck-e...@googlegroups.com
Now it generates no error, but still blank screen.  If you can help me get started with this, I have some free time to try and identify/fix compatibility issues with 2.2.


On Thursday, July 9, 2015 at 2:07:27 AM UTC-5, mykl john wrote:

C K Wu

unread,
Jul 13, 2015, 11:45:02 AM7/13/15
to ck-e...@googlegroups.com
Hi, Mykl,

I have downloaded Moodle 2.7.9 and run it against CK-ERP 0.31.1 .  I may have found the reason for the blank page and it's a tricky one.  However, just to confirm - during the initial Moodle installation, which choice of database did you make ?  I presume it's either mysqli or mariadb .

Best Regards,
CK

mykl john

unread,
Jul 18, 2015, 9:58:23 PM7/18/15
to ck-e...@googlegroups.com
Hi, sorry, been busy.  I used MySql


On Thursday, July 9, 2015 at 2:07:27 AM UTC-5, mykl john wrote:

mykl john

unread,
Jul 18, 2015, 9:58:23 PM7/18/15
to ck-e...@googlegroups.com
Hi, yes, I picked MySQL

C K Wu

unread,
Jul 18, 2015, 10:55:12 PM7/18/15
to ck-e...@googlegroups.com
Hi, Myskl,

Here's the deal.

When developing support for Mysqli (php's transactional mysql interface, as opposed to the rather dated mysql interface) for CK-ERP 0.31.1, the simplistic generic CK-ERP mysqli driver (for all middleware) that I developed failed intermittently when running against Moodle 2.2.2 .  The (dirty) solution that I went for was to force a (Moodle 2.2.2 + CK-ERP 0.31.1 that used MYSQL database) environment to fall back to the traditional embedded CK-ERP mysql driver, which worked perfectly.

With Moodle 2.7.9, the choice of database had changed from mysqli or mysql (among others), to mysqli or mariadb.  If you choose mysqli in your Moodle installation, your database calls are likely to go through (Moodle 2.7.9's mysqli database layer + CK-ERP mysql driver).  This database call combo may have suffered from the intermittent error that I mentioned earlier.

I have also try the mariadb (which is supposed to be fully compatible to mysql) route.  After adding mariadb detection to the Moodle/CK-ERP connector, the installation works fine.  However, the installation suffers from the performance issue detailed in,

https://groups.google.com/forum/#!topic/ck-erp-en/2SzmcJpL77A

The (default-storage-engine=myisam) solution does not work well, ie installation is still very slow.

As such, my suggestion, at the moment, is,

a)    use postgresql or sqlite instead.
b)    use ATutor + CK-ERP instead.
c)    use Moodle (some version between 2.2.2 and 2.7.9) + CK-ERP.  [However, some other hitherto unknown issue(s) may pop up.]
d)    if you are just testing various features of CK-ERP, use (other supported middleware + CK-ERP) instead.

Best Regards,
CK
Reply all
Reply to author
Forward
0 new messages