| Topic Archived |
View previous topic :: View next topic |
| Author |
Message |
Joos1991 Newbie


Offline Joined: Jan 09, 2007 Posts: 4
|
Posted: Tue Jan 09, 2007 4:06 pm Post subject: [fixed]database error has occurred -admin/modules/blocks.php |
|
I have a problem, and i can't solve it:
| Code:: |
admin/modules/blocks.php
* Notice line 432: Undefined index: content
* Notice line 433: Undefined index: url
* Notice line 445: Undefined index: in_module
* Notice line 460: Undefined variable: weight
includes/db/db.php
* CMS Warning line 75: On /web/admin.php?op=blocks&save=2 While executing query "UPDATE cms_blocks SET weight=weight+1 WHERE weight>= AND bposition='r'" the following error occured: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND bposition='r'' at line 1 In: /home/railsimulatornl/HTML/web/admin/modules/blocks.php on line: 460 |
Running on MySQL 4.1.10
Joos1991's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Newest
|
|
| Back to top |
|
 |
Phoenix • Many Posts •


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


Offline Joined: Jan 09, 2007 Posts: 4
|
Posted: Tue Jan 09, 2007 4:30 pm Post subject: Re: A database error has occurred |
|
Thanks, working fine now!
Joos1991's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Newest
|
|
| Back to top |
|
 |
BrokenCrust 500+ Posts Club


Offline Joined: Sep 06, 2004 Posts: 503
|
Posted: Thu Jan 11, 2007 7:42 pm Post subject: Another block error 9.1.1 |
|
Moving a block from the right to the left (or I assume other editing of the block) throws an error. Also there are a bunch of notices
| Code:: |
admin\modules\blocks.php
* Notice line 432: Undefined index: content
* Notice line 433: Undefined index: url
* Notice line 445: Undefined index: in_module
* Notice line 460: Undefined variable: weight
includes\db\db.php
* CMS Warning line 75: On /admin.php?op=blocks&save=38 While executing query
"UPDATE cpg_blocks SET weight=weight+1 WHERE weight>= AND bposition='l'" the following error occured:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near
'AND bposition='l'' at line 1 In: c:\cpgtest\html\admin\modules\blocks.php on line: 460 |
BrokenCrust please enter your server specs in your user profile!
|
|
| Back to top |
|
 |
NanoCaiordo Developer


Offline Joined: Jun 29, 2004 Posts: 3878 Location: Melbourne, AU
|
Posted: Thu Jan 11, 2007 8:55 pm Post subject: Re: Another block error 9.1.1 |
|
_________________ .:: 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 |
|
 |
BrokenCrust 500+ Posts Club


Offline Joined: Sep 06, 2004 Posts: 503
|
Posted: Thu Jan 11, 2007 9:39 pm Post subject: Re: Another block error 9.1.1 |
|
Sorted. Thank You.
BrokenCrust please enter your server specs in your user profile!
|
|
| Back to top |
|
 |
mrnorton Newbie


Offline Joined: Jun 21, 2005 Posts: 8
|
Posted: Sun Jan 14, 2007 3:50 pm Post subject: Moving block left to the right |
|
When I tray to move a block from The left side to the right side I get follow message from debug.
On /admin.php?op=blocks&save=2
While executing query "UPDATE cms_blocks SET weight=weight+1 WHERE weight>= AND bposition='r'"
the following error occured: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND bposition='r'' at line 1
Thanks
mrnorton's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) CPG Dragonfly CMS
|
|
| Back to top |
|
 |
NanoCaiordo Developer


Offline Joined: Jun 29, 2004 Posts: 3878 Location: Melbourne, AU
|
Posted: Sun Jan 14, 2007 3:50 pm Post subject: Re: Moving block left to the right |
|
_________________ .:: 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 |
|
 |
mrnorton Newbie


Offline Joined: Jun 21, 2005 Posts: 8
|
Posted: Sun Jan 14, 2007 4:11 pm Post subject: Re: Moving block left to the right |
|
Thanks now it working.
mrnorton's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) CPG Dragonfly CMS
|
|
| Back to top |
|
 |
ibnuahmad Newbie


Offline Joined: Sep 29, 2006 Posts: 13 Location: Malaysia
|
Posted: Tue Jan 23, 2007 11:08 am Post subject: Error to change block Position |
|
i'm try to change User info block Position, but Database error, warning massage :
includes/db/db.php
* CMS Warning line 75: On /v1/admin.php?op=blocks&save=2 While executing query "UPDATE cms_blocks SET weight=weight+1 WHERE weight>= AND bposition='r'" the following error occured: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND bposition='r'' at line 1 In: public_html/v1/admin/modules/blocks.php on line: 460
anybody now why?
ibnuahmad's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/1.3.36 (Unix)/4.1.21-standard/4.4.2/9.1.1
|
|
| Back to top |
|
 |
Phoenix • Many Posts •


Offline Joined: Apr 19, 2004 Posts: 8799 Location: Netizen
|
Posted: Tue Jan 23, 2007 11:24 am Post subject: Re: [fixed]database error has occurred -admin/modules/blocks.php |
|
Use the link in the second post of this topic.
_________________ • DonationsPro for DragonflyCMS, SMF, MyBB, vBulletin •
Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
|
|
| Back to top |
|
 |
ausindo Newbie


Offline Joined: Jul 31, 2006 Posts: 2
|
Posted: Thu Feb 01, 2007 3:27 am Post subject: Error: Changing block from left to right |
|
Hi
I got this error wheen changing block from left to right.
Any advise to fix this? Thank you
| Code:: |
includes/db/db.php
CMS Warning line 75: On /admin.php?op=blocks&save=7 While executing query "UPDATE cms_blocks SET weight=weight+1 WHERE weight>= AND bposition='r'" the following error occured: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND bposition='r'' at line 1 In: /home/berkat/public_html/admin/modules/blocks.php on line: 460
|
ausindo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) cpg
|
|
| Back to top |
|
 |
Phoenix • Many Posts •


Offline Joined: Apr 19, 2004 Posts: 8799 Location: Netizen
|
Posted: Thu Feb 01, 2007 3:59 am Post subject: Re: [fixed]database error has occurred -admin/modules/blocks.php |
|
your answer is right here.
_________________ • DonationsPro for DragonflyCMS, SMF, MyBB, vBulletin •
Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
|
|
| Back to top |
|
 |
mario Nice poster


Offline Joined: Sep 14, 2004 Posts: 67 Location: Duiven, The Netherlands
|
Posted: Tue Feb 06, 2007 11:13 am Post subject: Re: Another block error 9.1.1 |
|
| BrokenCrust wrote: |
Moving a block from the right to the left (or I assume other editing of the block) throws an error. Also there are a bunch of notices
| Code:: |
admin\modules\blocks.php
* Notice line 432: Undefined index: content
* Notice line 433: Undefined index: url
* Notice line 445: Undefined index: in_module
* Notice line 460: Undefined variable: weight
includes\db\db.php
* CMS Warning line 75: On /admin.php?op=blocks&save=38 While executing query
"UPDATE cpg_blocks SET weight=weight+1 WHERE weight>= AND bposition='l'" the following error occured:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near
'AND bposition='l'' at line 1 In: c:\cpgtest\html\admin\modules\blocks.php on line: 460 |
|
I got the same error as above, uploaded the latest CVS Blocks.php as stated in this post, no error after that however the block's list shows empty, as there wouldn't be installed one single block??
mario's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux / 1.3.33 / 4.0.25 / 4.3.11 / Dragonfly 9.0.6.01 and testsite, specs as before however with Dragonfly 9.1.1
|
|
| Back to top |
|
 |
Phoenix • Many Posts •


Offline Joined: Apr 19, 2004 Posts: 8799 Location: Netizen
|
Posted: Tue Feb 06, 2007 11:15 am Post subject: Re: [fixed]database error has occurred -admin/modules/blocks |
|
You shouldn't use the latest cvs file, otherwise you'll be needing others (like templates).
Please use the version stated or, use the full cvs snapshot which will soon be the next release.
_________________ • DonationsPro for DragonflyCMS, SMF, MyBB, vBulletin •
Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
|
|
| Back to top |
|
 |
|
|