- Raspberry Pi
- Server 128
- Install B2evo
- ELF Trust
ELF Trust
This is the log of attempts to move unveiled.info
First Attempt
- The easy part was to create a database and import the data from an sql file via php.
- Set up new DNS for [unveiled.info] to Elfserver
- Created virtual host root at [/var/www/unveiled] on server
- Then the complete set of b2evolution files were copied over to a new [unveiled] folder/directory in the [/var/www], which is the root of the elf server.
- Unsuccessful : Connected to database but could not navigate the site 404 errors everywhere. ✘
- Reset DNS to previous host.
Second Attempt
This is just to get a functional b2evo site working using a subdomain [elf.rogerlovejoy.uk]
- As above 1,2,3 but 4 is a clean install
I have the site working but cannot create a post without an error, (see comment)
Maybe sorting the status of the install will help as follows: ?- Edited the [/etc/php/7.3/php.ini] and increased the memory limit from 128M to 384M that gets rid of one status warning ✓
- Next is warning that PHP mbstring extension Not loaded
sudo apt-get install php7.3-mbstring
sudo systemctl restart apache2 ✓ - Next PHP XML extension Not loaded
sudo apt-get install php7.3-xml
sudo systemctl restart apache2 ✓ - Next PHP IMAP extension Not loaded
sudo apt-get install php7.3-imap
sudo systemctl restart apache2 ✓ - There are other warnings but I've decided to do this first as it seems more required.
XML-RPC Failed
This API doesn't work properly on this server. Error: No CURL support compiled in.
sudo apt-get install php7.3-curl
sudo systemctl restart apache2 ✓
Maybe this sorted the error? ? - Now to what appears to be the most difficult problem .
REST API Failed https://elf.rogerlovejoy.uk/api/v6/collections This API doesn't work properly on this server. You should probably update your .htaccess file to the latest version and check the file permissions of this file. Error: ob_end_flush(): failed to delete and flush buffer. No buffer to delete or flush - Didn't try to resolve the above failure as I tried to post and it's fine ✓✓
So I'm thinking of creating an [unveiled.info] database with only one collection and see if I can imoprt that the existing installation at elf.rogerlovejoy.uk
August 16th
- Backed up unveiled database ✓
- Renamed [elfT.sql] move to placeholder [/var/www/elf] ✓
- Created new database in maria
- Imported 2 to 3
- Edited blog [/conf/_basic_configf.php] to access new database
Seems to work but must copy /media/ over too
Only worked on default colelction which was raspi, couln't access other collections via name
[https:/elf.rogerlovejoy.uk/elfT]
Altered URL for elfT to [https:/elf.rogerlovejoy.uk/index.php/elfT] and now that collection works
so then deleted all other collections
Altered URL to [https:/elf.rogerlovejoy.uk/] but brings up an odd ref to raspi. May have to close Firefox and or apache??Works fine on server browser ✓
- Move /media/ folder to new host (had to grab /media/quick_uploads from original host
- All seems fine ✓
Fatal error: Uncaught Error: Call to undefined function xml_parser_create() in /var/www/elf/inc/xhtml_validator/_xhtml_validator.class.php:145 Stack trace: #0 /var/www/elf/inc/_core/_param.funcs.php(2622): XHTML_Validator->__construct(’posting’, true, false, false, false, ‘UTF-8′) #1 /var/www/elf/inc/_core/_param.funcs.php(2344): check_html_sanity(’test content’, ‘posting’, Object(User), ‘utf-8′) #2 /var/www/elf/inc/items/model/_item.class.php(1164): param_check_html(’content’, ‘Invalid content…’) #3 /var/www/elf/inc/items/items.ctrl.php(1754): Item->load_from_Request(false, true) #4 /var/www/elf/evoadm.php(224): require(’/var/www/elf/in…’) #5 {main} thrown in /var/www/elf/inc/xhtml_validator/_xhtml_validator.class.php on line 145