foxhound |
|
---|---|
I was giving it a new try to see if I could manage to convert my current Seditio website to cotonti but since Seditio has been upgraded lately I think it is causing some issues.
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? <img src="http://www.armaholic.com/datas/thumbs/green-sea-battalion-uniforms-version-03-preview_4.jpg" alt="green-sea-battalion-uniforms-version-03-" />
|
|
Dieser Beitrag wurde von foxhound (am 25. Januar 2010, 08:03, vor 15 Jahre) bearbeitet |
Trustmaster |
|
---|---|
Those error messages are caused by some variables missing in the datas/config.php:
$cfg['system_dir'] = './system'; foxhound: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. May the Source be with you!
|
tensh |
|
---|---|
I'd like to ask two questions, I'm also in the middle of migration:
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. |
Trustmaster |
|
---|---|
tensh:That's normal if there has been no new posts in your forums for last 7 days. tensh:You mean something like <div class="preview">
Preview text here
</class> May the Source be with you!
|
tensh |
|
---|---|
Hmm, it didn't help: if the message is short, the div reaches only a part of iframe. I digged into the problem deeper: an iframe is considered a separate html page. The whole css stylesheet must be different from the one used on a site, or the iframe must have "body" tags that can have a css class assigned. So not a div, but a body with css class.
echo $style.'<body class="preview">'.sed_post_parse(sed_parse($text)).'</body>'; Now it works. ![]() |
Trustmaster |
|
---|---|
Thanks, this is how we'll do it.
May the Source be with you!
|
foxhound |
|
---|---|
# Trustmaster : Those error messages are caused by some variables missing in the datas/config.php: 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. <img src="http://www.armaholic.com/datas/thumbs/green-sea-battalion-uniforms-version-03-preview_4.jpg" alt="green-sea-battalion-uniforms-version-03-" />
|
Trustmaster |
|
---|---|
And do you still get
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 4969That line in functions.php is require_once $cfg['system_dir'].'/xtemplate.php'; require_once './datas/config.php';
require_once($cfg['system_dir'].'/functions.php'); May the Source be with you!
|
foxhound |
|
---|---|
The script from seditio I am using is this one:
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. <img src="http://www.armaholic.com/datas/thumbs/green-sea-battalion-uniforms-version-03-preview_4.jpg" alt="green-sea-battalion-uniforms-version-03-" />
|
|
Dieser Beitrag wurde von foxhound (am 25. Januar 2010, 00:56, vor 15 Jahre) bearbeitet |
Trustmaster |
|
---|---|
Now it's clear. You see, Seditio v125 (and 126 of course) was released many months later than Cotonti 0.0.1, which was derived from v125beta3. That's why the file shipped with Cotonti is different. So you need either use the file from Cotonti package (if upgrading to Cotonti from v121), or don't apply this patch at all if you upgrade from v125/126.
May the Source be with you!
|
foxhound |
|
---|---|
Yep, I see.
Thanks a lot for your help, I appreciate it ![]() <img src="http://www.armaholic.com/datas/thumbs/green-sea-battalion-uniforms-version-03-preview_4.jpg" alt="green-sea-battalion-uniforms-version-03-" />
|