Blog post to long

Hi,


When I want to post on my dolphin 7 blog section a post, it not working, and i think because the post is too long. As soon as I hit the "Add post" button, it's stay and then it appear the view profile page. What can I do so I can add to blog every post that I want?

Sincerely,
Stelian

Quote · 31 Jan 2010

Nobody can't help me? I can't post some articles on the blog, because are too long, and I don't know from where can I modify this setting.

Quote · 31 Jan 2010

How do you know it's too long?  Did you try posting something shorter?

Save your posts in a file on your computer before putting in your blog, just in case you lose what you type.

As far as what's causing the issue, I don't know, maybe someone else does, but I think you need to describe more about how your Dolphin site is set up, what you're doing, what's happening when you try to do what you do.  The way you describe it now is vague.

Quote · 31 Jan 2010

Yes, I've tried to put something shorter and it worked. So, I click on Add Post (on my blog from dolphin 7), I complete all fields, and after I click on Add Post, it stay a long time (1 min) and then it appear the profile page and no post insert. The settings of my website are default.

Quote · 31 Jan 2010

No help? :(

Quote · 31 Jan 2010

Please, can someone help me with this problem?

Quote · 2 Feb 2010

Sounds like the thing is timing out as the upload is taking to long.  This can be due to large image/video uploads/embedding/hotlinking, extremely long post, we're talking a couple hundred thousand characters and so on that just makes it impossible for the server to fully process the thing.

What are the server memory & time limits?

What is your internet connection where your uploading from?

What are the server specs? 

 

To many things here for us to give you a definitive solution if we don't know them.  Remember grasshopper, it's all in the details that decide if ya got a deal or not.

Quote · 2 Feb 2010

Hi,

I posted only articles with embeded pictures from photobucket. Here are the specs of the hosting:

Baby Plan from Hostgator.com

Server Execute time limits: 30 sec (can not be increased, if I want to increase this limit, I need to purchase a vps or a dedicated server)

The server specs:

dual Intel Xeon (Harpertown) 2.0 GHz Quad Core Processors. We run CentOS Enterprise Linux. The servers have 8 GB of RAM and the connection speed on our servers is 100 mbps (mega bits per second). We also have instant weekly backups of your content.

I hope that exist a solution without upgrading the host account.


Thank you!

Quote · 2 Feb 2010

How long was the blog?  Meaning if you copy/pasted it into Notepad++ what is the byte count?  This is looking like an issue with the size of the item you tried to post.  This would include the embedded items, not the size of the image, but the size of the embed code being placed in the site. 

Quote · 2 Feb 2010

Today I've tried to post an interview (only text, I've inserted in a notepad and it has 16,995 kb) and it not worked. I've inserted only a part of the text, and then the full text directly in DB and in this way it worked. And that article was without any embeded picture or movie.

Quote · 2 Feb 2010

Both of my D7 installs have the same problem.  I've had my upload limits raised more and more and more, and still get time-outs from my server.  It got to the point where I now just break the article or blog post down into more than one article/post, and just link to each in the body of the text somewhere.  From my host, "I have increased the timeout limits to 10 times the default values. If you encounter this issue in the future just let me know and reopen this ticket or mention it so I can assist you in giving a prompt solution to it."  So, we've tried increasing the limits to 10 times the default, and it still won't allow an update/addition with a tiny size of 8.00 KB (8,192 bytes).  Hosting problem?  I don't think so :)

newbreed
Quote · 2 Feb 2010

Through some of my recent tests i have determined this problem is most likely releated to the phpids security.

When it times out do you get a message stating something is taking to long to execute with a reference to phpids?

During my tests, i wrote a php script to accept post data and write it to the database directly using built in php mysql functions. The test data was was written to the database regardless of size within seconds.

I am convinced the phpids filter is the cause of most timeout problems in dolphin.

Try using -1 for both security values in admin and see if it helps.

I have determined that even with this -1 setting which we assume disables the filter, i still believe data is passed through this filter anyway.

https://www.deanbassett.com
Quote · 2 Feb 2010

Through some of my recent tests i have determined this problem is most likely releated to the phpids security.

When it times out do you get a message stating something is taking to long to execute with a reference to phpids?

During my tests, i wrote a php script to accept post data and write it to the database directly using built in php mysql functions. The test data was was written to the database regardless of size within seconds.

I am convinced the phpids filter is the cause of most timeout problems in dolphin.

Try using -1 for both security values in admin and see if it helps.

I have determined that even with this -1 setting which we assume disables the filter, i still believe data is passed through this filter anyway.

Deano, yes, you are correct.  I get both the security warning as well as the time-out error.  It depends on if I use the HTML editor or the plain text editor, as to which error I recieve.  Either way, something is not right.  I have my programmer and host looking further in to it, to determine if there's something that can be done to one or the other editor options to prevent this.  Without the ability for a member/user to compose lengthy posts or articles, the features become less desirable on a public site.

newbreed
Quote · 2 Feb 2010

Have your coders look into placing security exceptions in the file.

Something like this placed at the top of the php script that provides the forms. place it before the include_once functions that load other dolphin classes.

define('BX_SECURITY_EXCEPTIONS', true);
$aBxSecurityExceptions = array(
'POST.content0',
'REQUEST.content0',
);


content0 is to be replaced with the variable name used for the post data. That variable name is also shown in the security warning messages.

This method is used in many locations in dolphin. But i have not been able to get it to work in my editor mods.

The only difference i can see is most of the references to this security exceptions are used in standard PHP scripts. Where i am trying to use it in in a module that is setup as a class. I am wondering if the fact that it is a class based module is the reason i can't get it working. I am still experimenting with this, but it does appear that setting up exceptions can be done. The trick i guess is how to properly use it.

I asked my boonex agent about this, the only response i got was "Give us access to your server and mods so our coders can look at it."

https://www.deanbassett.com
Quote · 2 Feb 2010

 

 

Through some of my recent tests i have determined this problem is most likely releated to the phpids security.

When it times out do you get a message stating something is taking to long to execute with a reference to phpids?

During my tests, i wrote a php script to accept post data and write it to the database directly using built in php mysql functions. The test data was was written to the database regardless of size within seconds.

I am convinced the phpids filter is the cause of most timeout problems in dolphin.

Try using -1 for both security values in admin and see if it helps.

I have determined that even with this -1 setting which we assume disables the filter, i still believe data is passed through this filter anyway.

Deano, yes, you are correct.  I get both the security warning as well as the time-out error.  It depends on if I use the HTML editor or the plain text editor, as to which error I recieve.  Either way, something is not right.  I have my programmer and host looking further in to it, to determine if there's something that can be done to one or the other editor options to prevent this.  Without the ability for a member/user to compose lengthy posts or articles, the features become less desirable on a public site.

 While your at it, why don't you also have them explain the difference between a hit and an impression to you.  I'm sure will of them explainin' it you'll be up to full speed on what those mean in no time.

Quote · 2 Feb 2010

Me, I not receive an error message, it redirect to profile member page. I've tried with -1 and -1 at the security settings, and it worked now. But, if I have these settings, I'm very vulnerable?

Quote · 2 Feb 2010

Through some of my recent tests i have determined this problem is most likely releated to the phpids security.

When it times out do you get a message stating something is taking to long to execute with a reference to phpids?

During my tests, i wrote a php script to accept post data and write it to the database directly using built in php mysql functions. The test data was was written to the database regardless of size within seconds.

I am convinced the phpids filter is the cause of most timeout problems in dolphin.

Try using -1 for both security values in admin and see if it helps.

I have determined that even with this -1 setting which we assume disables the filter, i still believe data is passed through this filter anyway.

Deano, yes, you are correct.  I get both the security warning as well as the time-out error.  It depends on if I use the HTML editor or the plain text editor, as to which error I recieve.  Either way, something is not right.  I have my programmer and host looking further in to it, to determine if there's something that can be done to one or the other editor options to prevent this.  Without the ability for a member/user to compose lengthy posts or articles, the features become less desirable on a public site.

While your at it, why don't you also have them explain the difference between a hit and an impression to you.  I'm sure will of them explainin' it you'll be up to full speed on what those mean in no time.

You realize you're the only one continuing to push a moot point, right?  A point that you began, argued, and settled all by yourself.  You're just continuing to make yourself look more and more like an ass, man.  The last thing I need is an explanation about anything related to anything.  I'm making money, and networking, you're sitting in a corner thinking you have some kind of clue what's going on...lol  Wow, I actually just wasted 15 seconds on you, again...  Last time, later :-)

newbreed
Quote · 2 Feb 2010

newbreed you reffered to me?

Quote · 2 Feb 2010

I've tried with -1 and -1 at the security settings, and it worked now. But, if I have these settings, I'm very vulnerable?

Quote · 4 Feb 2010

Not in my opinion. These were added to dolphin to try to reduce injection type hack attempts. But in my opinion this security system is just not working properly yet.

Of course others will have other opinions, but thats mine.

https://www.deanbassett.com
Quote · 4 Feb 2010

I share the opinion that PHPIDS is best disabled.  It cannot tell the difference between a harmless blog post and a real attack so it makes no sense to use it.  In my opinion, HTMLPurifier does a good enough job of preventing malicious code from being posted.

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 4 Feb 2010
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.