Support ⇒ Dragonfly CMS v10 ⇒ Downloads Pro 4.0.2 ⇒ Community Forums ⇒ CPG Dragonfly™ CMS
Forum IndexDragonfly CMS v10

Downloads Pro 4.0.2 Reply to topic

Go to page 1, 2 Next

Hi i copied all the files from the SCM to create v4.0.2
It installs fine but when adding a download i get the error

The URL that you requested, resulted in a server configuration error. It is possible that the condition causing the problem will be gone by the time you finish reading this. We have logged this error and will correct the problem. CMS Error modules/Downloads/add.php line 135: Field 'notes' doesn't have a default value

Also New_Downloads block brakes the block section (if left block, removes all blocks on left)
Maybe because of no downloads in DL section?

Forgot to add im using the default beta version of 10

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Litespeed/Apache2.4.23/MySQL5.5.42/PHP 5.6.25/DF 9.4.0.0

Last edited by BobCat on Wed Apr 06, 2016 8:58 am; edited 1 time in total


You should be able to fix that error on your own server by putting a default value of NULL or something in the database for the "notes" field.
The overall fix I guess would be to change the cpg_install file for the module so that when the field is created in the database it has a default value.

I'm assuming you left the "notes" field black when you added a download? Just typing something in that field should stop that error too.

Test Signature

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):


Fixed the DB error in CSM including another bug
bitbucket.org/dragonfl...aa422e591a

The block error is strange, will try to find it.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Fedora 25 / Apache 2.4.27 / MariaDB 10.1.26 / PHP 7.1.10 / Mercurial


TY that fixed the issue

Re New Downloads Block
The URL that you requested, resulted in a server configuration error. It is possible that the condition causing the problem will be gone by the time you finish reading this. We have logged this error and will correct the problem. CMS Error blocks/block-New_Downloads.php line 29: Unknown column 'lid' in 'field list'

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Litespeed/Apache2.4.23/MySQL5.5.42/PHP 5.6.25/DF 9.4.0.0


just noticed all downloads blocks give a 'field list' error

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Litespeed/Apache2.4.23/MySQL5.5.42/PHP 5.6.25/DF 9.4.0.0


I don't seem to have "lid" in any of my downloads tables.
I'm not running any downloads blocks though, so I'm not seeing this error.

Test Signature

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):


Featured Downloads
CMS Error blocks/block-Featured_Downloads.php line 29: Unknown column 'lid' in 'field list'

New Downloads
CMS Error blocks/block-New_Downloads.php line 29: Unknown column 'lid' in 'field list'

top 10 Downloads
CMS Error blocks/block-Top10_Downloads.php line 30: Unknown column 'd.lid' in 'field list'

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Litespeed/Apache2.4.23/MySQL5.5.42/PHP 5.6.25/DF 9.4.0.0


When i try to add a new 'Add field' in Downloads i get a message

The field name "" is not allowed

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Litespeed/Apache2.4.23/MySQL5.5.42/PHP 5.6.25/DF 9.4.0.0


Delete the /blocks/block-*Downloads.php they are moved.
You have to add them again through the new blocks manager.

The "add field" manager bug is fixed

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Fedora 25 / Apache 2.4.27 / MariaDB 10.1.26 / PHP 7.1.10 / Mercurial

Last edited by DJ Maze on Thu Apr 07, 2016 9:30 am; edited 1 time in total


DJ did you see my latest posts in my "upgrade issues" thread?
Messaging is broken on this site too.

Test Signature

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):


When i edit a Categories Name
?admin&op=Downloads&file=cat_mngr&editCat=2

the page shows
Categories '._BC_DELIM.' '._EDIT.'
Manage categories and their subcategories in which various downloads will be filed.

instead of just
Categories
Manage categories and their subcategories in which various downloads will be filed.

If i try to change the categories name and click Save Changes i just get a blank white page.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Litespeed/Apache2.4.23/MySQL5.5.42/PHP 5.6.25/DF 9.4.0.0

Last edited by BobCat on Sun Apr 10, 2016 4:10 am; edited 1 time in total


having more time now to have another go..
I updated the DLP (which changed the namespace _ to \)
Now I get a plank page when i click on "Add Download"

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Litespeed/Apache2.4.23/MySQL5.5.42/PHP 5.6.25/DF 9.4.0.0


Check the error log in /cache/ folder

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Fedora 25 / Apache 2.4.27 / MariaDB 10.1.26 / PHP 7.1.10 / Mercurial


PHP Fatal error: Class 'Dragonfly\Identity' not found in /.../public_html/DF10/modules/Downloads/add.php on line 12

line12
if (!is_user()) { \URL::redirect(\Dragonfly\Identity::loginURL()); }

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Litespeed/Apache2.4.23/MySQL5.5.42/PHP 5.6.25/DF 9.4.0.0


6 weeks ago i changed the classes to use namespace.
So \Dragonfly_Identity became \Dragonfly\Identity
You updated the Downloads module but not the Dragonfly code.

Update Dragonfly and it should be fixed (you might get session errors, just close browser and open it again)

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Fedora 25 / Apache 2.4.27 / MariaDB 10.1.26 / PHP 7.1.10 / Mercurial

All times are UTC
Go to page 1, 2 Next


Jump to: