Home Private Messages Search
CPG Dragonfly™ CMS stopsoftwarepatents.eu petition banner
Toggle Content
 
Forums ⇒ DragonflyCMS ⇒ Add-Ons & Blocks ⇒ [solved] Fatal error in Download upgrading a category


[solved] Fatal error in Download upgrading a category
Need help creating a block or add-on, or you have created or modified a block/add-on that works in Dragonfly CMS and it meets the CPG Security Requirements? Do you have feedback about a specific add-on? Here is the place to post. Read the announcements here first!.
Go to page 1, 2  Next
Post new topic    Reply to topic    Printer Friendly Page     Forum Index ⇒  Add-Ons & Blocks

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

Offline Offline
Joined: Jan 06, 2005
Posts: 44
Location: Lillesand, Norway
PostPosted: 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
View user's profile Visit poster's website
Phoenix
• Many Posts •
• Many Posts •

Offline Offline
Joined: Apr 19, 2004
Posts: 8799
Location: Netizen
PostPosted: 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
View user's profile Visit poster's website Photo Gallery
hansedgar
Newbie
Newbie

Offline Offline
Joined: Jan 06, 2005
Posts: 44
Location: Lillesand, Norway
PostPosted: 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
View user's profile Visit poster's website
Phoenix
• Many Posts •
• Many Posts •

Offline Offline
Joined: Apr 19, 2004
Posts: 8799
Location: Netizen
PostPosted: Fri Jan 27, 2012 11:22 am
Post subject: Re: Fatal error in Download upgrading a category

PHP? MySQL?

_________________
DonationsPro for DragonflyCMS, SMF, MyBB, vBulletin

Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website Photo Gallery
hansedgar
Newbie
Newbie

Offline Offline
Joined: Jan 06, 2005
Posts: 44
Location: Lillesand, Norway
PostPosted: 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
View user's profile Visit poster's website
NanoCaiordo
Developer
Developer

Offline Offline
Joined: Jun 29, 2004
Posts: 3878
Location: Melbourne, AU
PostPosted: 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
View user's profile Visit poster's website Photo Gallery
hansedgar
Newbie
Newbie

Offline Offline
Joined: Jan 06, 2005
Posts: 44
Location: Lillesand, Norway
PostPosted: Sat Jan 28, 2012 12:30 pm
Post subject: Re: Fatal error in Download upgrading a category

Very Happy 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
View user's profile Visit poster's website
NanoCaiordo
Developer
Developer

Offline Offline
Joined: Jun 29, 2004
Posts: 3878
Location: Melbourne, AU
PostPosted: 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
View user's profile Visit poster's website Photo Gallery
hansedgar
Newbie
Newbie

Offline Offline
Joined: Jan 06, 2005
Posts: 44
Location: Lillesand, Norway
PostPosted: Sat Jan 28, 2012 1:52 pm
Post subject: Re: Fatal error in Download upgrading a category

Very Happy Your first define did it Smile
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
View user's profile Visit poster's website
NanoCaiordo
Developer
Developer

Offline Offline
Joined: Jun 29, 2004
Posts: 3878
Location: Melbourne, AU
PostPosted: 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
View user's profile Visit poster's website Photo Gallery
hansedgar
Newbie
Newbie

Offline Offline
Joined: Jan 06, 2005
Posts: 44
Location: Lillesand, Norway
PostPosted: Sat Jan 28, 2012 3:11 pm
Post subject: Re: Fatal error in Download upgrading a category

Big grin YESSS - I am in admin and can work.
Thank you for helping me - and so quick Very Happy 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
View user's profile Visit poster's website
NanoCaiordo
Developer
Developer

Offline Offline
Joined: Jun 29, 2004
Posts: 3878
Location: Melbourne, AU
PostPosted: 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 Smile

_________________
.:: 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
View user's profile Visit poster's website Photo Gallery
NanoCaiordo
Developer
Developer

Offline Offline
Joined: Jun 29, 2004
Posts: 3878
Location: Melbourne, AU
PostPosted: Sat Jan 28, 2012 3:21 pm
Post subject: Re: Fatal error in Download upgrading a category

Blocks, see if this helps www.youtube.com/watch?v=wF4YfU_75EE

_________________
.:: 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
View user's profile Visit poster's website Photo Gallery
hansedgar
Newbie
Newbie

Offline Offline
Joined: Jan 06, 2005
Posts: 44
Location: Lillesand, Norway
PostPosted: Sat Jan 28, 2012 3:53 pm
Post subject: Re: Fatal error in Download upgrading a category

Cool 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
View user's profile Visit poster's website
hansedgar
Newbie
Newbie

Offline Offline
Joined: Jan 06, 2005
Posts: 44
Location: Lillesand, Norway
PostPosted: Sat Jan 28, 2012 5:52 pm
Post subject: Re: Fatal error in Download upgrading a category

Big grin 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
View user's profile Visit poster's website
Display posts from previous:   
Post new topic    Reply to topic    Printer Friendly Page    Forum Index ⇒  Add-Ons & Blocks
Page 1 of 2
All times are GMT
Go to page 1, 2  Next



Jump to:  


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


 
   Toggle Content User Info

Welcome Anonymous

Nickname
Password
(Register)

   Toggle Content Last CVS commits
· Fixed .ico Expires header.
· Removed domain name from cookies so subdomains wont access them anymore.
· CSS and JS, case insensitives.
· CSS and JS, send correct HTTP 1.1 headers and fixed issues where themes and...
· Further security class improvements.
· 301 redirects on LEO changes
· Option to force 3xx http status codes
· Validate googlebot.com and google.com crawlers.
· CCBot
· Rss with etag and atom.

read more...

   Toggle Content Community

Support for DragonflyCMS in a other languages:

Deutsch
Español

   Toggle Content X-links
UltraEdit Browse Happy logo Firefox MySQL PostgreSQL Valid CSS! Valid XHTML 1.0! Unicode Encoded Badge NukeBiz Resources Raven DragonflyCMS Dedicated Now InsideSupport Lampe Berger

You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
Interactive software released under GNU GPL, Code Credits, Privacy Policy