RV Products Forums: recurring warning messages in whm rvsitebuilder area - RV Products Forums

Jump to content

  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • This topic is locked

recurring warning messages in whm rvsitebuilder area

#1 User is offline   allwebnow 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 48
  • Joined: 19-May 07

Posted 25 February 2008 - 06:39 AM

Many times when I log into my whm area to the rvsitebuilder area, I get these similar messages. I don't know how to get rid of them permanantly. I mean i do exactly what they tell me to do and they go away for a while but they always seem to come back after either cpanel upgrade or rvsitebuilder upgrades. This is about the 3rd or 4th times I've seen these similar warning messages after I've successfully fixed them in the past. I really don't know why they keep popping up unless a cpanel upgrade resets the php.ini file to a default or something. If that's the case, can someone help me find a solution to help me get rid of these messages for good?

WARNING !!
WARNING: RVSiteBuilder recommend PHP maximum execution time of each script , in 180 seconds or above.
HELP: Edit /usr/local/cpanel/3rdparty/etc/php.ini and change "max_execution_time=180" or above, and restart cPanel service (/usr/local/cpanel/startup).

WARNING: RVSiteBuilder recommend maximum size of POST data 105M or above.
HELP: Edit /usr/local/cpanel/3rdparty/etc/php.ini and change "post_max_size=105M" or above, and restart cPanel service (/usr/local/cpanel/startup).

WARNING: RVSiteBuilder recommend maximum allowed size for uploaded files that PHP will accept 100M or above.
HELP: Edit /usr/local/cpanel/3rdparty/etc/php.ini and change "upload_max_filesize=100M" or above, and restart cPanel service (/usr/local/cpanel/startup).
0

#2 User is offline   pairote 

  • Administrator
  • PipPipPip
  • Group: Admin
  • Posts: 4,348
  • Joined: 13-June 03

Posted 25 February 2008 - 01:28 PM

I do not see the case where cPanel reset /usr/local/cpanel/3rdparty/etc/php.ini. After make change as suggested, do you check if there is no warning in RVSiteBuilder?
0

#3 User is offline   azannam 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 4
  • Joined: 28-February 08

Posted 28 February 2008 - 03:33 AM

Hi

I have the same issu
3 times since last friday I had to modify php.ini
WHM 11.15.0 cPanel 11.18.1-S20683
rvsitebuilder 2.42


DesMondes.com Creation et hebergement de site Web pour 80$/annee a Montreal, Canada
0

#4 User is offline   Peoplespaces 

  • Member
  • PipPip
  • Group: Members
  • Posts: 10
  • Joined: 01-March 08

Posted 01 March 2008 - 01:00 AM

QUOTE(azannam @ Feb 27 2008, 03:33 PM) <{POST_SNAPBACK}>
Hi

I have the same issu
3 times since last friday I had to modify php.ini
WHM 11.15.0 cPanel 11.18.1-S20683
rvsitebuilder 2.42


Same issue for me as well. I make the changes and then need to do it agin a few days later.
0

#5 User is offline   jljr222 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 3
  • Joined: 14-June 05

Posted 08 March 2008 - 09:47 PM

Any fix for this yet, it is becoming very annoying to edit the php.ini on the cPanel side EVERYTIME I upgrade cPanel. My techs have told me that this is because the script was not coded properly otherwise this problem would not occur. When can we expect a fix? This is the 5th time.
0

#6 User is offline   dotcomUNDERGROUND 

  • Member
  • PipPip
  • Group: Members
  • Posts: 28
  • Joined: 05-June 07

Posted 09 March 2008 - 08:54 PM

Same here.
0

#7 User is offline   allwebnow 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 48
  • Joined: 19-May 07

Posted 10 March 2008 - 10:20 AM

I've gone into my php.ini files about 5 times to fix this. The message goes away but just keeps coming back after every rvsitebuilder or cpanel update (don't know which one). Regardless, I've just given up on trying to update php.ini everytime as it is useless to do so until there is a real fix for this.

BTW, I'm running cpanel's release updates.
WHM 11.15.0 cPanel 11.18.2-R21613
CENTOS Enterprise 4.6 i686 on standard - WHM X v3.1.0
Rvsitebuilder version : PRO 2.42
0

#8 User is offline   pairote 

  • Administrator
  • PipPipPip
  • Group: Admin
  • Posts: 4,348
  • Joined: 13-June 03

Posted 10 March 2008 - 12:10 PM

It seems cPanel reset php.ini every upcp.

We have created script to update php.ini to accomodate this. It will be available next update (v2.43). You will just need to run the following command.

perl /var/cpanel/rvglobalsoft/rvsitebuilder/panelmenus/cpanel/scripts/autofixphpini.pl

If you want to automate it, add above command at /scripts/postupcp (don't forget to set its permission to 700) all will be settled.
0

#9 User is offline   allwebnow 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 48
  • Joined: 19-May 07

Posted 18 March 2008 - 04:06 AM

Are you saying add the above command to the /scripts/postupcp? would that mean we'd paste it like this?

#!/bin/sh

perl /var/cpanel/rvglobalsoft/rvsitebuilder/panelmenus/cpanel/scripts/autofixphpini.pl
0

#10 User is offline   pairote 

  • Administrator
  • PipPipPip
  • Group: Admin
  • Posts: 4,348
  • Joined: 13-June 03

Posted 18 March 2008 - 03:51 PM

Yes.


PS: I edited your post to avoid others confuse with your mscheck cript.
0

#11 User is offline   allwebnow 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 48
  • Joined: 19-May 07

Posted 18 March 2008 - 07:14 PM

k no prob.
0

#12 User is offline   dotcomUNDERGROUND 

  • Member
  • PipPip
  • Group: Members
  • Posts: 28
  • Joined: 05-June 07

  Posted 23 March 2008 - 04:46 PM

I dont find /scripts/postupcp on my system.

Should i create one?

And on the newly created file i paste the following:

CODE
#!/bin/sh

perl /var/cpanel/rvglobalsoft/rvsitebuilder/panelmenus/cpanel/scripts/autofixphpini.pl


Save the file and chmod it to 777

Right?
0

#13 User is offline   pairote 

  • Administrator
  • PipPipPip
  • Group: Admin
  • Posts: 4,348
  • Joined: 13-June 03

Posted 24 March 2008 - 11:20 AM

QUOTE
I dont find /scripts/postupcp on my system.

Should i create one?

Yes.

QUOTE
Save the file and chmod it to 777

Right?


755 should be sufficient.

0

#14 User is offline   Aric 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 84
  • Joined: 05-March 04

Posted 31 March 2008 - 04:39 AM

Note that just running this command via SSH as root (as suggested in the WHM RVSITEBUILDER area) doesn't work because it checks the wrong php.ini file. It decides the php.ini file is in /root/php.ini. For cPanel systems, the backend php.ini file is always at /usr/local/cpanel/3rdparty/etc/php.ini. Manually editing the script to indicate the correct php.ini file makes it work just fine.

One other very minor note... The note that is displayed if no changes are made is currently: "Nothing change. Your PHP configuration for cPanel(3rdparty) pass the minimum recommendation for RVSiteBuilder." It should be "Nothing changed. Your PHP configuration for cPanel (3rdparty) passes the minimum recommendation for RVSiteBuilder."

Regards,

Aric
Want to learn more about cPanel?
Try my book on the subject (available in both electronic and print versions):
cPanel: User's Guide and Tutorial
WHM book:
Web Host Manager Administration Guide
0

#15 User is offline   pairote 

  • Administrator
  • PipPipPip
  • Group: Admin
  • Posts: 4,348
  • Joined: 13-June 03

Posted 31 March 2008 - 10:42 AM

Both issues have been fixed. And will be distributed on the next update.
0

#16 User is offline   Randy 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 1
  • Joined: 18-September 07

Posted 31 May 2008 - 11:46 AM

Since I had so many problems with this issue I put in a cPanel ticket and they added these settings where they were editable in WHM -=> Tweak Settings under the PHP Section

0

#17 User is offline   chaloupe 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 4
  • Joined: 23-May 08

  Posted 04 June 2008 - 11:05 AM

I have run the script: perl /var/cpanel/rvglobalsoft/rvsitebuilder/panelmenus/cpanel/scripts/autofixphpini.pl

restart cPanel services and we still have the yellow warning.

We have also change settings in the WHM > Tweak Settings under the PHP section, restarted cpanel and stil got this yellow warning. Any fix?

QUOTE
WARNING: RVSiteBuilder recommend PHP maximum execution time of each script , in 180 seconds or above.
WARNING: RVSiteBuilder recommend maximum size of POST data 105M or above.
WARNING: RVSiteBuilder recommend maximum allowed size for uploaded files that PHP will accept 100M or above.

To avoid the problem, please SSH to the server as root and run

perl /var/cpanel/rvglobalsoft/rvsitebuilder/panelmenus/cpanel/scripts/autofixphpini.pl

and restart cPanel service (/usr/local/cpanel/startup).

Jean Boudreau - SysAdmin LvIII
http://www.jbwseries.com
0

#18 User is offline   pairote 

  • Administrator
  • PipPipPip
  • Group: Admin
  • Posts: 4,348
  • Joined: 13-June 03

Posted 04 June 2008 - 11:50 AM

There is a bit changing on the latest cPanel. PHP maximum execution time, maximum size of POST data, maximum allowed size for uploaded files need to set in WHM/Tweak. We are updating autofixphpini to accomodate it. If you don't want to wait for the update, simple go to your WHM and set the value there.
0

#19 User is offline   catwalk 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 45
  • Joined: 08-March 04

Posted 27 June 2008 - 01:27 AM

Just wondering, will the generous upload sizes and POST data and execution times as suggested not create security problems for a server?

Are these changes compulsory and will the site builder not function properly if these changes are not allowed?
0

#20 User is offline   pairote 

  • Administrator
  • PipPipPip
  • Group: Admin
  • Posts: 4,348
  • Joined: 13-June 03

Posted 27 June 2008 - 09:46 AM

QUOTE
Just wondering, will the generous upload sizes and POST data and execution times as suggested not create security problems for a server?

I don't see any security implication. User need to know username and password. If someone tries to do something wrong, they can easily FTP to the server other than upload something on RVSiteBuilder or cPanel File Manager.

QUOTE
Are these changes compulsory and will the site builder not function properly if these changes are not allowed?


It is not required but recommended. If you don't set those values, you may get unnecessary support requests from your end-user such as cannot upload large files, cannot publish website especially projects which contain more than 30 pages, and etc.
0

Share this topic:


  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • This topic is locked