Home Private Messages Search
CPG Dragonfly™ CMS Dedicated Server & Bandwidth Sponsored by DedicatedNOW
Toggle Content
 
Forums ⇒ CMS (All) ⇒ CVS Info :: Archives ⇒ 9.1.2.6 :: Archived


9.1.2.6 :: Archived
Global information regarding the state of our CVS and changes committed. Members are only allowed to reply to these topics.
Go to page Previous  1, 2
Post new topic    Revive this topic    Printer Friendly Page     Forum Index ⇒  CVS Info

Topic Archived View previous topic :: View next topic  
Author Message
darkgrue
Developer
Developer

Offline Offline
Joined: Apr 20, 2004
Posts: 542
Location: Lancaster, CA
PostPosted: Mon Aug 06, 2007 7:14 pm
Post subject: Re: 9.1.2.6

Beldak wrote:
Also, have an additional problem in that I cannot drag and drop any of the blocks in the blocks admin (right hand side). When the mouse hovers over them I just get the circle with the line through it cursor.

Ah, it's not drag-n-drop. You select the column you want to place the block in on the left (so that it highlights in red), then you click on the move box on the right and it just appears. It's not actually draggable (which is what I expected as well). Only the ordering/trashcan stuff on the left is draggable. Took me a while to figure that out myself, the video tutorial helped a lot.

_________________
It is pitch black. You are likely to be eaten by a grue.

darkgrue's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Ubuntu 11.04, Atom D525/Apache 2.2.17/MySQL 5.1.54/PHP 5.3.5/Dragonfly 10.0.04 CVS
Back to top
View user's profile Visit poster's website
Beldak
Nice poster
Nice poster

Offline Offline
Joined: Jun 15, 2005
Posts: 78
Location: Edwards AFB, CA
PostPosted: Mon Aug 06, 2007 7:23 pm
Post subject: Re: 9.1.2.6

Aha - thanks Grue - couldn't view that video from work (dang Flash is blocked).

So, for me, it took the changes and works - still getting that Line 181 notice spam, but functionally seems to be working ok.


Beldak's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux 2.4.32 / Apache 1.3.37 / MySQL 5.0.16 / PHP 5.2.2 / Dragonfly CVS
Back to top
View user's profile Visit poster's website
darkgrue
Developer
Developer

Offline Offline
Joined: Apr 20, 2004
Posts: 542
Location: Lancaster, CA
PostPosted: Tue Aug 07, 2007 1:03 am
Post subject: Re: 9.1.2.6

NanoCaiordo wrote:
did the query affected any rows?

Don't know - I'm using Webmin, and it doesn't return status messages like that.

NanoCaiordo wrote:
do you still see the exact same warnings as before or after the query some of them disappeared.

Some of them disappeared, now I just get:

Code::
admin/modules/blocks.php
Notice line 181: Undefined offset: 9

repeated 25 times.

EDIT: I found what was causing the "Undefined offset" problem, there were entries in the cms_blocks_custom table for a BID that didn't exist (9), and that's what was causing that warning. Deleting those entries now presents me with a "clean" page (no errors/warnings).

NanoCaiordo wrote:
also if you comment line 76 in admin/modules/blocks.php where the url_redirect is then you should be able to see any possible warning.

I don't notice any difference with Line 76 commented out (I also cleared the cache).

EDIT2: NanoCaiordo generously helped me debug this directly on the server, and traced the problem to Suhosin's default settings. It places limits on the POST variables that get consumed very quickly by the block arrangement code.

Two settings have to be changed in php.ini from their default size of 200 (example values used here):

suhosin.post.max_vars = "4096"
suhosin.request.max_vars = "4096"

The value needs to be on the order of (blocks * modules * 5) + 6 if all blocks are included in all modules.

Nano's beeing showing a lot of patience helping me with tracing the problems and debugging, so major props to him for the much-appreciated assistance!

_________________
It is pitch black. You are likely to be eaten by a grue.

darkgrue's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Ubuntu 11.04, Atom D525/Apache 2.2.17/MySQL 5.1.54/PHP 5.3.5/Dragonfly 10.0.04 CVS
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 Aug 18, 2007 2:20 am
Post subject: Re: 9.1.2.6

Undefined variable is now fixed at installer level.
Not able to save blocks was a server related issue.
CSS style cursor path fixed thanks darkgrue.

May we say that all new features are correctly working?

_________________
.:: 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
Eestlane
I18N / L10N Lead Dev
I18N / L10N Lead Dev

Offline Offline
Joined: Apr 06, 2005
Posts: 1404
Location: Estonia
PostPosted: Thu Aug 23, 2007 8:39 pm
Post subject: Re: 9.1.2.6

It would be neat if in the list of modules, there would be Home aswell.
So that i.e

Admin
Home
News
...

So that for Home you choose top blocks, but for News you don't.
Home would always overwrite module's setting is user is in home (index.php).


Eestlane's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/2.0.63/5.0.67/5.2.8/9.2.1
Back to top
View user's profile Send e-mail Visit poster's website
NanoCaiordo
Developer
Developer

Offline Offline
Joined: Jun 29, 2004
Posts: 3878
Location: Melbourne, AU
PostPosted: Thu Aug 23, 2007 10:08 pm
Post subject: Re: 9.1.2.6

It is on my "low priority" to do list already. Been spending lot of time with new features and the "high priority" list was ignored. I need to move forward sorry.

_________________
.:: 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
Eestlane
I18N / L10N Lead Dev
I18N / L10N Lead Dev

Offline Offline
Joined: Apr 06, 2005
Posts: 1404
Location: Estonia
PostPosted: Thu Aug 23, 2007 10:17 pm
Post subject: Re: 9.1.2.6

That's OK.


OT: I have always been thought that I could candidate for DF developer, for doing some small stuff, like templating, or I don't know... breaking $morelink in News to smth better etc small tasks... but I better don't do it as it would take too much of my time...


Eestlane's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/2.0.63/5.0.67/5.2.8/9.2.1
Back to top
View user's profile Send e-mail Visit poster's website
Display posts from previous:   
Post new topic    Revive this topic    Printer Friendly Page    Forum Index ⇒  CVS Info
Page 2 of 2
All times are GMT
Go to page Previous  1, 2

Archive Revive
Username:
This is an archived topic - your reply will not be appended here.
Instead, a new topic will be generated in the active forum.
The new topic will provide a reference link to this archived topic.
 
   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.

Läs mer...

   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