Miscellaneous ⇒ Server Chat ⇒ Server Issues with 9.2 (suhosin) (page 5) ⇒ Community Forums ⇒ CPG Dragonfly™ CMS
Forum IndexServer Chat

Server Issues with 9.2 (suhosin) Reply to topic


For the block changes refer to the suhosin's thread, you know have enough knowledge to modify the correct files Smile ... any issue let us know.

.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
CloudLinux / Apache 2.4 LSAPI / MySQLi 5.7 / PHP 7.3 / head


Okay - I got so frustrated with the blocks that I had to "step away" from them or get really angry. LOL. I'll try to find where I left off.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
[ Linux / Apache 2.2.8 / MySQL 5.0.45 / PHP 5.2.6 / CPG 8.2b - 9.3.4.1]


How can you confirm that I have changed my suhosin settings?

I put the following code in my php.ini file

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

But I'm still not seeing the USER INFO block on the right. I made sure the NEWS module was set for both.

A bug in the code is worth two in the documentation.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Ubuntu Linux 8.04.1/Apache 2.28/MySQL 5.0.51/ PHP 5/DF 9.2.x


DaleHutch wrote
How can you confirm that I have changed my suhosin settings?


Explained here:

www.dragonflycms.org/F...41/#143441

There's also the doc wiki on this topic:

Suhosin and Dragonfly CMS

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

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Ubuntu 12.04, Atom D525/Apache 2.2.22/MySQL 5.5.38/PHP 5.3.10/Dragonfly 9.4.0.0 CVS


I've got the right line in the right php.ini file. I look at the PHP information and there is nothing referring to the setting we need. Almost like it is being ignored.

Strange

A bug in the code is worth two in the documentation.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Ubuntu Linux 8.04.1/Apache 2.28/MySQL 5.0.51/ PHP 5/DF 9.2.x


I also cant change/delete anything in module after upgrade to 9.2.1
i asked my host provider about suhosin. this is what they wrote:

You can manage all PHP settings with the help of your local php.ini file. In order to use it, you need to create a php.ini file under the folder with your PHP scripts, with the necessary PHP settings. For example, if you need to change the upload_max_filesize for one of your scripts under your public_html to 8M you should create a php.ini file under the folder with the following content:
[PHP]
upload_max_filesize = 8M

Also you can set Suhosin settings in your php.ini file.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
linux /1.3.34 (Unix) / 4.1.22-standard /4.4.8 / 9.2.1


Moved to this topic which should contain what you need.

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


I did not have a php.ini file. so i created one.

As explained in this post:
dragonflycms.org/Forum...c/t=20470/

I just added these lines in php.ini

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


It works Smile

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
linux /1.3.34 (Unix) / 4.1.22-standard /4.4.8 / 9.2.1


I see my post is moved from another topic. i write one more post just to be clear about what my problem was.

After i upgraded to 9.2.1 i culd not delete/change/move the modules in the Block menu. When i clicked on update changes, everything went back to privously status.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
linux /1.3.34 (Unix) / 4.1.22-standard /4.4.8 / 9.2.1


okay YAY... those fields are now saying something - maybe now I can figure out what I'm doing wring here!

I'm attaching a screenshot of what those fields say - please let me know what is wrong.
Attachment: suhosin.jpg
Description
Filesize 212.91 KiB
Viewed 18 Time(s)
You are not allowed to view/download this attachment

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
[ Linux / Apache 2.2.8 / MySQL 5.0.45 / PHP 5.2.6 / CPG 8.2b - 9.3.4.1]


Any help or ideas?

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
[ Linux / Apache 2.2.8 / MySQL 5.0.45 / PHP 5.2.6 / CPG 8.2b - 9.3.4.1]


alyssa make sure the formula you are using to calculate suhosin values is correct
dragonflycms.org/Wiki/id=134/

Also thinking to use Ajax to save a module at the time instead of all of them in one hit.

.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
CloudLinux / Apache 2.4 LSAPI / MySQLi 5.7 / PHP 7.3 / head


Yeah I double checked the match and adjusted that so I ought to be safe.

How would I save a module? Not sure what you mean by that. And what is Ajax?

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
[ Linux / Apache 2.2.8 / MySQL 5.0.45 / PHP 5.2.6 / CPG 8.2b - 9.3.4.1]


Instead of:
- add/remove/move blocks, switch module view to add/remove/move .... and save all changes in one hit

I'm thinking to do:
- add/remove/move blocks and WHEN switching module view will save the changes.

en.wikipedia.org/wiki/Ajax_(programming)

.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
CloudLinux / Apache 2.4 LSAPI / MySQLi 5.7 / PHP 7.3 / head


If I move a block above the block on top of it in one module on the module side (a block that already has been added to the module in the block side) and I click on update - the change is not saved.

I am not sure how one would beging to use Ajax with DF. Sad especially not knowing a thing about Ajax to begin with.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
[ Linux / Apache 2.2.8 / MySQL 5.0.45 / PHP 5.2.6 / CPG 8.2b - 9.3.4.1]

All times are UTC


Jump to: