Softaculous


Topic : Wordpress muiltisite install


Posted By: PubDirLtd on February 6, 2012, 1:54 am
I have just done a WP multisite install on my local network server at http://192.168.1.2/domainame/. Everything seemed to go well with the install but now, logged on as admin, when I go to - Network admin | Dashboard | Themes | Add New - I get the following message "Are you sure you want to do this? Please try again" if I try to upload a new theme.  If I install a theme from the WP repository everything goes fine and it network activates.  Is this a similar problem like we had before where the directory in Media was written wrongly by the install script?  Terence.

Posted By: Brijesh on February 6, 2012, 6:33 am | Post: 1
Hi,

Sir I just tested this and I could install the themes on a WordPress installed with Multisite. I went to Network Admin -> Dashboard -> Themes -> Add New. I directly searched and installed a theme from the WordPress Interface and also downloaded a theme manually and installed it via uploading it in WordPress and both worked fine.

Can you please post some screenshots of the errors you get.

-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool

Posted By: PubDirLtd on February 6, 2012, 6:43 am | Post: 2
Just out of curiosity I tried installing another them I had lying around, and wouldn't you know it?  It installed just fine.  Very odd. 

I will have to go and see what's different about this theme I am trying to install "Directory Press" since I just installed it on my host server without a problem just yesterday.  Which is why I didn't to test any other theme until now. 

Thanks for helping me think out loud.

Terence.

Posted By: PubDirLtd on February 6, 2012, 6:53 am | Post: 3
I just tried another theme and maybe it gives a clue.  Although I have PHP set as follows...

PHP Code

 Maximum allowed size for uploaded files.
http://php.net/upload-max-filesize
upload_max_filesize 12M 



I get this when I try and upload and install a theme...

"This file is too big. Files must be less than 1500 KB in size. Back"

Terence.

Posted By: Brijesh on February 6, 2012, 7:11 am | Post: 4
Quote From : PubDirLtd February 6, 2012, 6:53 am

PHP Code

 Maximum allowed size for uploaded files.
http://php.net/upload-max-filesize
upload_max_filesize 12M 



I get this when I try and upload and install a theme...

"This file is too big. Files must be less than 1500 KB in size. Back"

Terence.

Hi,

This means that the filesize of the theme you are trying to upload is more than the upload_max_filesize in your php.ini
You can increase this and then your should not get this error.
You can do this in AMPPS by opening the AMPPS application -> PHP -> Configuration and change the value for "upload_max_filesize" in this file.


-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool

Posted By: PubDirLtd on February 6, 2012, 7:19 am | Post: 5
Quote From : Brijesh February 6, 2012, 7:11 am

This means that the filesize of the theme you are trying to upload is more than the upload_max_filesize in your php.ini
You can increase this and then your should not get this error.
You can do this in AMPPS by opening the AMPPS application -> PHP -> Configuration and change the value for "upload_max_filesize" in this file.


I wish that was the case.  The file was under 9Mb and even with PHP set to 50Mb I still have the same problem and the same error message....

"Are you sure you want to do this?

Please try again."

Am I sure I want to install this theme?  Not a very helpful error message from WP interpreting a PHP error I guess.

Terence.

Posted By: PubDirLtd on February 6, 2012, 7:23 am | Post: 6
Now I have tried to install another theme that know installs just fine and its only 3.8Mb and PHP is still set to 50MB but now I get this error again...

"This file is too big. Files must be less than 1500 KB in size. Back"

Terence.

Posted By: Brijesh on February 6, 2012, 7:42 am | Post: 7
Hi,

Sir this is the WordPress restriction "Max upload file size" by default the max upload file size is 1500 kb
You can change it from here:
Network admin -> Settings -> Network Settings go to Upload Settings and change the "Max upload file size" and click on Save Changes. This should resolve your issue.

-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool

Posted By: PubDirLtd on February 6, 2012, 7:49 am | Post: 8
Nope, it wasn't that.  I had already found that and set it to 50MB.

This is the first time I have needed to set up WP as multi-site and you might say "its not going smoothly",

Terence.

Posted By: PubDirLtd on February 6, 2012, 8:03 am | Post: 9
I have just managed to get a different theme to upload and install, but the original theme "Shopper Press" just won't play ball.  I am guessing there's something in side it that doesn't sit well with multi-site and that's why it aborts.

Terence.

Posted By: Brijesh on February 6, 2012, 8:04 am | Post: 10
Hi,

Sir I just tried to install a theme of size 3mb and I got the same error as you did "This file is too big. Files must be less than 1500 KB in size. Back"
But when I changed the Upload size in WordPress Settings the I could install the theme successfully.

Did you restart Apache after changing the upload_max_filesize in php.ini
Please restart Apache and try again.


-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool

Posted By: PubDirLtd on February 6, 2012, 8:26 am | Post: 11
Quote From : Brijesh February 6, 2012, 8:04 am
Hi,

Sir I just tried to install a theme of size 3mb and I got the same error as you did "This file is too big. Files must be less than 1500 KB in size. Back"
But when I changed the Upload size in WordPress Settings the I could install the theme successfully.

Did you restart Apache after changing the upload_max_filesize in php.ini
Please restart Apache and try again.


Yes, I had restarted Apache after changing the php.ini but that wasn't the only problem - I have now found another. 

Something is wrong in the code, in the archive I was trying to upload, with regard to WP multi-site installation.  Directory Press v6.8 installed just fine on multi-site just now, but v6.9 causes all of these problems. 

I will let the developer know what we have found.

Many thanks for helping me through it.

Terence.

Posted By: Brijesh on February 6, 2012, 8:30 am | Post: 12
Hi,

Feel free to contact us if you need any further information.

-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool

Powered By AEF 1.0.8 © 2007-2008 Electron Inc.