|
View previous topic :: View next topic |
| Author |
Message |
hansedgar Newbie


Offline Joined: Jan 06, 2005 Posts: 44 Location: Lillesand, Norway
|
Posted: Thu Jan 26, 2012 3:33 pm Post subject: [solved] Fatal error in Download upgrading a category |
|
Working Download/update/category in CMS ver.9.06.0 this msg. blow up on screen:
Fatal Error message Allowed memory size of 134217728 bytes exhausted (tried to allocate 105350 bytes)........... modules/Downloads/admin/index.inc on line 25
How can I restore my Downloads ?
hansedgar's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) win7 - 9.2.1
|
|
| Back to top |
|
 |
Phoenix • Many Posts •


Offline Joined: Apr 19, 2004 Posts: 8799 Location: Netizen
|
Posted: Fri Jan 27, 2012 12:31 am Post subject: Re: Fatal error in Download upgrading a category |
|
Hard to resolve with such an old version.
Really needs a cms upgrade which would then allow you to upgrade the module to DownloadsPro.
_________________ • DonationsPro for DragonflyCMS, SMF, MyBB, vBulletin •
Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
|
|
| Back to top |
|
 |
hansedgar Newbie


Offline Joined: Jan 06, 2005 Posts: 44 Location: Lillesand, Norway
|
Posted: Fri Jan 27, 2012 11:18 am Post subject: Re: Fatal error in Download upgrading a category |
|
No walking arround then ?
I'm not that familiar with php programing so I'm a bit frightend to upgrade from 9.06.0. Perhaps in two steps? First up to 9.2.1 then later to 9.3.3 ? What is recommended? (BackUp ok).
hansedgar's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) win7 - 9.2.1
|
|
| Back to top |
|
 |
Phoenix • Many Posts •


Offline Joined: Apr 19, 2004 Posts: 8799 Location: Netizen
|
|
| Back to top |
|
 |
hansedgar Newbie


Offline Joined: Jan 06, 2005 Posts: 44 Location: Lillesand, Norway
|
Posted: Fri Jan 27, 2012 11:41 am Post subject: Re: Fatal error in Download upgrading a category |
|
Sorry - Settings show:
CMS Version 9.0.6.0
PHP Version 5.2.6
GD Version bundled (2.0.34 compatible)
MySQL Version 5.0.67 -log
hansedgar's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) win7 - 9.2.1
|
|
| Back to top |
|
 |
NanoCaiordo Developer


Offline Joined: Jun 29, 2004 Posts: 3878 Location: Melbourne, AU
|
Posted: Fri Jan 27, 2012 5:12 pm Post subject: Re: Fatal error in Download upgrading a category |
|
Login as user and as admin.
Activate maintenance mode.
Change website wide theme to default.
Change your user theme to default.
Backup files and db.
Upload 9.3.3 and install.php
Then we think about themes and modules, however Downloads module shouldn't have any problem with 9.3.3.3 but you might experience the same issue. Either upgrade to DownloadsPro, or wait for a Downloads module fix.
_________________ .:: I met php the 03 December 2003 :: Unforgettable day! ::.
Linux 64bit / Apache 2.2 / PHP 5.4 / MySQL 5.5.22 / v9, v10
Linux 32bit / Apache 2.2 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
Windows 64bit / IIS 7.5 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) mixed
|
|
| Back to top |
|
 |
hansedgar Newbie


Offline Joined: Jan 06, 2005 Posts: 44 Location: Lillesand, Norway
|
Posted: Sat Jan 28, 2012 12:30 pm Post subject: Re: Fatal error in Download upgrading a category |
|
 On /install.php 9.3.3 (all blocks deact. ex. system)
While executing query "CREATE TABLE IF NOT EXISTS cms_blocks_custom (
bid INT NOT NULL DEFAULT '0',
mid INT NOT NULL DEFAULT '0',
side CHAR(1) NOT NULL DEFAULT 'l',
weight SMALLINT NOT NULL DEFAULT '1',
UNIQUE KEY bid (bid, mid, weight)
) ENGINE=MyISAM DEFAULT CHARSET=DB_CHARSET"
the following error occured: Unknown character set: 'DB_CHARSET'
In: ................../includes/classes/installer.php on line: 61
hansedgar's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) win7 - 9.2.1
Last edited by hansedgar on Sat Jan 28, 2012 1:26 pm; edited 1 time in total |
|
| Back to top |
|
 |
NanoCaiordo Developer


Offline Joined: Jun 29, 2004 Posts: 3878 Location: Melbourne, AU
|
Posted: Sat Jan 28, 2012 1:26 pm Post subject: Re: Fatal error in Download upgrading a category |
|
in your config.php, just under define DB_TYPE, make sure you have
| PHP: |
define('DB_CHARSET', 'utf8');
|
if after that you get a "illegal mix of collation" error then use
| PHP: |
define('DB_CHARSET', null);
|
_________________ .:: I met php the 03 December 2003 :: Unforgettable day! ::.
Linux 64bit / Apache 2.2 / PHP 5.4 / MySQL 5.5.22 / v9, v10
Linux 32bit / Apache 2.2 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
Windows 64bit / IIS 7.5 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) mixed
|
|
| Back to top |
|
 |
hansedgar Newbie


Offline Joined: Jan 06, 2005 Posts: 44 Location: Lillesand, Norway
|
Posted: Sat Jan 28, 2012 1:52 pm Post subject: Re: Fatal error in Download upgrading a category |
|
 Your first define did it
Entering 9.0 setup ...
Entering 9.1 setup ...
Entering 9.2 setup ...
Entering 9.3 setup ...
Upgrade steps completed
Do-be-do-be-do
I called admin.php and got this:
Fatal error: Call to undefined function blocks_visible() in /......./themes/cpgnuke/theme.php on line 45
(I did deactivate all blocks exept "system" berfore upgrade)
hansedgar's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) win7 - 9.2.1
|
|
| Back to top |
|
 |
NanoCaiordo Developer


Offline Joined: Jun 29, 2004 Posts: 3878 Location: Melbourne, AU
|
Posted: Sat Jan 28, 2012 1:55 pm Post subject: Re: Fatal error in Download upgrading a category |
|
enable CPG_DEBUG in config.php, it should restore your site, then activate debug in admin to see all the issues.
_________________ .:: I met php the 03 December 2003 :: Unforgettable day! ::.
Linux 64bit / Apache 2.2 / PHP 5.4 / MySQL 5.5.22 / v9, v10
Linux 32bit / Apache 2.2 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
Windows 64bit / IIS 7.5 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) mixed
|
|
| Back to top |
|
 |
hansedgar Newbie


Offline Joined: Jan 06, 2005 Posts: 44 Location: Lillesand, Norway
|
Posted: Sat Jan 28, 2012 3:11 pm Post subject: Re: Fatal error in Download upgrading a category |
|
 YESSS - I am in admin and can work.
Thank you for helping me - and so quick  I'm very happy.
You are right - by-the-way - the error are still in Download. I will handel that one later.
There is a lot of "Warnings" as bottom lines. I have activated blocks (on right) and cheked all Moduls ok. but no blocks are to see in "Home" - so I need your help a litle bit more to make them appear.
hansedgar's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) win7 - 9.2.1
|
|
| Back to top |
|
 |
NanoCaiordo Developer


Offline Joined: Jun 29, 2004 Posts: 3878 Location: Melbourne, AU
|
Posted: Sat Jan 28, 2012 3:19 pm Post subject: Re: Fatal error in Download upgrading a category |
|
| NanoCaiordo wrote: |
Login as user and as admin.
Activate maintenance mode.
Change website wide theme to default.
Change your user theme to default.
Backup files and db.
Upload 9.3.3 and install.php
|
You have missed a couple of steps, about the themes, but its all good now.
Warnings you see relates to functions being removed or moved, CPG_DEBUG links old functions to new ones but warns you about the fall back.
Choose the theme you want to keep and then read "Themes changes" from dragonflycms.org/Wiki/id=128/
You know what to do if you get stuck
_________________ .:: I met php the 03 December 2003 :: Unforgettable day! ::.
Linux 64bit / Apache 2.2 / PHP 5.4 / MySQL 5.5.22 / v9, v10
Linux 32bit / Apache 2.2 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
Windows 64bit / IIS 7.5 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) mixed
|
|
| Back to top |
|
 |
NanoCaiordo Developer


Offline Joined: Jun 29, 2004 Posts: 3878 Location: Melbourne, AU
|
Posted: Sat Jan 28, 2012 3:21 pm Post subject: Re: Fatal error in Download upgrading a category |
|
_________________ .:: I met php the 03 December 2003 :: Unforgettable day! ::.
Linux 64bit / Apache 2.2 / PHP 5.4 / MySQL 5.5.22 / v9, v10
Linux 32bit / Apache 2.2 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
Windows 64bit / IIS 7.5 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) mixed
|
|
| Back to top |
|
 |
hansedgar Newbie


Offline Joined: Jan 06, 2005 Posts: 44 Location: Lillesand, Norway
|
Posted: Sat Jan 28, 2012 3:53 pm Post subject: Re: Fatal error in Download upgrading a category |
|
 Ok. Got you.
What about these warnings?
CMS Warning line 21:
DEPRECATED call to blocks_visible() by /..../theme.php on line 45. CMS Warning line 21:
DEPRECATED call to blocks_visible() by /...../theme.php on line 50. CMS Warning line 21:
DEPRECATED call to hideblock() by ......./themes/cpgnuke/theme.php on line 57. CMS Warning line 21:
DEPRECATED call to hideblock() by /......./themes/cpgnuke/theme.php on line 58. CMS Warning line 21:
DEPRECATED call to blocks() by /............./themes/cpgnuke/theme.php on line 78. CMS Warning line 21:
DEPRECATED call to blocks() by /............./themes/cpgnuke/theme.php on line 83. CMS Warning line 21:
DEPRECATED call to hideblock() by /........../themes/cpgnuke/theme.php on line 85. CMS Warning line 21:
DEPRECATED call to hideblock() by /............../themes/cpgnuke/theme.php on line 86. CMS Warning line 21:
DEPRECATED call to themesidebox() by /......../theme.php on line 87.
hansedgar's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) win7 - 9.2.1
|
|
| Back to top |
|
 |
hansedgar Newbie


Offline Joined: Jan 06, 2005 Posts: 44 Location: Lillesand, Norway
|
Posted: Sat Jan 28, 2012 5:52 pm Post subject: Re: Fatal error in Download upgrading a category |
|
 HURRA - I AM UP AND GO ON 9.3.3
Reinstalled language english and norwegian. Deleted all other languages.
This gave a dramatic change. All warnings disappeared and blocs works fine so far. What a releaf.
THANK YOU FOR FANTASTIC HELP.
Be my friend.
hansedgar's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) win7 - 9.2.1
|
|
| Back to top |
|
 |
|
|