cotonti.com : Trouble upgrading to cotonti with new seditio files? https://www.cotonti.com Laatste forum onderwerpen Cotonti en Sat, 13 Dec 2025 18:53:44 -0000 foxhound Thanks a lot for your help, I appreciate it :)]]> Ma, 25 Jan 2010 17:22:55 -0000 Trustmaster Ma, 25 Jan 2010 01:31:45 -0000 foxhound Upgrade from 121 to 125/126

I should have the latest Cotonti files as a while back I updated to 0.6.5 manually and after that I did not get any messages to update anymore in the admin panel.
But, just to be sure I will download the complete 0.6.5 package and install that. I will be back to let you know if that fixed it.


[edit
Sorry I mean 0.6.5, I have that one

Added 43 minutes later:

Update:
I have replaced all files with the one from the package announced on the homepage and when I extracted that package I noticed in the package is also a file called:
upgrade-seditio12x-to-seditio125.php


So, I after I succesfully applied that patch I used also the one which I downloaded from the neochrome website and now the same error as posted in my first post comes up so I guess there is a problem with that new version of the update script.]]>
Ma, 25 Jan 2010 00:06:48 -0000
Trustmaster
Warning: require_once(/xtemplate.php) [function.require-once]: failed to open stream: No such file or directory in /home/armaholi/public_html/testers/armaholictest/system/functions.php on line 4969
That line in functions.php is
require_once $cfg['system_dir'].'/xtemplate.php';
So, this variable seems to be empty. In upgrade-seditio...php the inclusion order is
require_once './datas/config.php';
require_once($cfg['system_dir'].'/functions.php');
Which is weird because functions.php wouldn't be included in this case at all! Is your script from Seditio package? Please check if you have latest Cotonti files.]]>
Ma, 25 Jan 2010 00:00:46 -0000
foxhound # Trustmaster : Those error messages are caused by some variables missing in the datas/config.php:
$cfg['system_dir'] = './system';
Please check datas/config-sample.php for reference and update your config.

I am using the config_sample.php as my standard config.php (renamed of course and edited with all necassary info).
So, I double checked with a backup of the original config_sample.php and that part you mention is there as how it should be.]]>
Zo, 24 Jan 2010 23:26:48 -0000
Trustmaster Zo, 24 Jan 2010 17:56:25 -0000 tensh
echo $style.'<body class="preview">'.sed_post_parse(sed_parse($text)).'</body>';

Now it works. :)]]>
Zo, 24 Jan 2010 17:49:31 -0000
Trustmaster tensh:
After migration I don't see forum activity icons, what might be wrong? That's normal if there has been no new posts in your forums for last 7 days.

tensh:
It's not that related to migration per se, but I don't like the preview from markitup: it just takes the body of my site, and the preview doesn't look like it should. If there was any means to insert a div into this preview iframe, it would be great.
You mean something like
<div class="preview">
Preview text here
</class>
Yes, it sounds quite reasonable, I'll add a ticket for 0.6.6.]]>
Zo, 24 Jan 2010 16:44:03 -0000
tensh
1. After migration I don't see forum activity icons, what might be wrong?
2. It's not that related to migration per se, but I don't like the preview from markitup: it just takes the body of my site, and the preview doesn't look like it should. If there was any means to insert a div into this preview iframe, it would be great.]]>
Zo, 24 Jan 2010 02:38:38 -0000
Trustmaster datas/config.php:
$cfg['system_dir'] = './system';
Please check datas/config-sample.php for reference and update your config.

foxhound:
Does it matter the Cotonti version installed is the latest? When applying the seditio patch should I go back first to lets say 0.0.3?
You can use files from the latest package. Patching order is important for SQL database only. Normally the SQL upgrade sequence is: 121 => 125 (via that php script) => 0.0.1 => 0.0.2 => 0.0.3 => 0.0.4 => 0.0.5 => 0.0.6 => 0.6.1 => 0.6.2 => 0.6.3. This is related to SQL. You also need sql/patch-0.6.txt when updating from 0.0.5 to 0.0.6:
Copy it to your Cotonti root as patch.php and run in a web browser.
]]>
Zo, 24 Jan 2010 02:09:10 -0000
foxhound
I want to execute the upgrade-seditio12x-to-seditio125.php but everytime I do I get this error:

Warning: require_once(/xtemplate.php) [function.require-once]: failed to open stream: No such file or directory in /home/armaholi/public_html/testers/armaholictest/system/functions.php on line 4969

Fatal error: require_once() [function.require]: Failed opening required '/xtemplate.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/armaholi/public_html/testers/armaholictest/system/functions.php on line 4969


I already have all cotonti files installed but have replaced the database.mysql.php in system with the one from seditio 1.21 (as described here: http://www.seditio.by/page.php?al=migration_from_seditio_to_cotonti) Its in Russian but I am using a translater and Kort assured me this measure works.

Anyone knows what to do? Can I only convert to Cotonti using the seditio 1.25 beta file? And if so, where to get it as it was removed from neochrome.

Added 1 hour 30 minutes later:

Does it matter the Cotonti version installed is the latest? When applying the seditio patch should I go back first to lets say 0.0.3?]]>
Zo, 24 Jan 2010 00:24:57 -0000