I am now facing an issue with accessing "mahara.local" from local network. The following were added to the firewall inbound access rule;
1. wampserver
2. httpd.exe
3. Port 80
Not a success after these settings and wamp server all services restarted.
Also, see httpd-vhosts.conf notepad file attached.
Your kind assistance is always appreciated.
Best
Asi
]]>
That's great that you got past the errors and could successfully install Mahara!
I hope you and your Academy will enjoy using it~
Kind regards,
Doris
]]>I was able to correct the two error messages from the php error logs.
1. mysqli error: [1709: Index column size too large. The maximum column size is 767 bytes.]
Solution: In WAMPSERVER select MYSQL DBMS > MySQL settings > innodb-default-row-format = compact, compact being the default value, change or select 'dynamic' from the drop down options and this solves this maximum column size error.
2.mysqli error: [1050: Table 'event_type' already exists]
Solution: I drop all the tables in my 'mahara' database and then re-install mahara by browsing to localhost/mahara and click install and mahara installation completed successfully without any error.
I really appreciate you assistance which guided me in the right direction to solve this errors.
Thanks and Best Regards,
Asi
]]>Thank you - that screenshot is very helpful! When I run a MySQL DB server with Mahara, my settings are 'character set UTF8mb4 collate utf8mb4_bin'. Try updating your settings to match.
Additionally, I wonder if this forum post might help. It references phpMyAdmin and other community members solving a semi-related installation issue by updating their database collation.
Best,
Doris
]]>Please see attachment, is charset and collation 2 different instance? sorry I'm quite new to wampserver and MySQL but very eager to get the hands on.
Do I need to increase the Index Column size?
Best Regards,
Asi
]]>There seems to be something going on with the MySQL database. I suggest looking into your database configuration as the repeated error in the error logs point to database table column sizes.
By the way, what is the charset encoding and collation for your database?
Kind regards,
Doris
]]>Thanks for your prompt responds in assisting me through this, kindly see attached the php error log notepad attached.
]]>
Thanks so much for your reply and assistance, please see attached the error log retrieved in apache pasted on a notepad.
Thank you.
]]>The site logs should be with your Apache logs.
Kind regards,
Doris
Thanks alot for your prompt reply. I was able to install wampserver, I launched mahara successfully and I clicked install Mahara, whilst performing installation I got the error in the first instance of installing core component/plugin error is 'Failed to upgrade.' See screenshot attached, please kindly assist me with this.
Thank you.
]]>
It's awesome that you want to introduce Mahara to your academy!~ :D
There are multiple ways to get an instance of Mahara up and running.
- Option 1 -
The quickest way is to download a zip file from our Launchpad at https://launchpad.net/mahara and follow the instructions in the README in the zip file. The latest stable release is Mahara 22.04.2. We will be releasing Mahara 22.10 in the second half of October.
- Option 2 -
A more custom setup would be to get the code from Git, set up a developer environment on a local computer, and then transfer files to a server. For a full dev environment setup, https://wiki.mahara.org/wiki/Developer_Area is a great place to start reading. Note that we develop Mahara on a Linux-based tech stack, so we won't be able to help much if you have Windows-related questions. However, we know that some people got it working with Windows.
Kind regards,
Doris
]]>
Thank you.
]]>