Welcome Guest. Please Login or Register  


You are here: Index > AMPPS > General Support > Topic : Wordpress muiltisite install



Threaded Mode | Print  

 Wordpress muiltisite install, Won't install uploaded themes (12 Replies, Read 15236 times)
PubDirLtd
Group: Member
Post Group: Working Newbie
Posts: 50
Status:

AMPPS 4.6.7 & PHP 5.6.9 on Win 7 Pro SP1 x64 4Gb server
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.
IP: --   

Wordpress muiltisite install
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5647
Status:
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
IP: --   

Wordpress muiltisite install
PubDirLtd
Group: Member
Post Group: Working Newbie
Posts: 50
Status:

AMPPS 4.6.7 & PHP 5.6.9 on Win 7 Pro SP1 x64 4Gb server
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.
IP: --   

Wordpress muiltisite install
PubDirLtd
Group: Member
Post Group: Working Newbie
Posts: 50
Status:

AMPPS 4.6.7 & PHP 5.6.9 on Win 7 Pro SP1 x64 4Gb server
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.
IP: --   

Wordpress muiltisite install
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5647
Status:
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
IP: --   

Wordpress muiltisite install
PubDirLtd
Group: Member
Post Group: Working Newbie
Posts: 50
Status:

AMPPS 4.6.7 & PHP 5.6.9 on Win 7 Pro SP1 x64 4Gb server
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.
IP: --   

Wordpress muiltisite install
PubDirLtd
Group: Member
Post Group: Working Newbie
Posts: 50
Status:

AMPPS 4.6.7 & PHP 5.6.9 on Win 7 Pro SP1 x64 4Gb server
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.
IP: --   

Wordpress muiltisite install
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5647
Status:
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
IP: --   

Wordpress muiltisite install
PubDirLtd
Group: Member
Post Group: Working Newbie
Posts: 50
Status:

AMPPS 4.6.7 & PHP 5.6.9 on Win 7 Pro SP1 x64 4Gb server
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.
IP: --   

Wordpress muiltisite install
PubDirLtd
Group: Member
Post Group: Working Newbie
Posts: 50
Status:

AMPPS 4.6.7 & PHP 5.6.9 on Win 7 Pro SP1 x64 4Gb server
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.
IP: --   

Wordpress muiltisite install
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5647
Status:
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
IP: --   

Wordpress muiltisite install
PubDirLtd
Group: Member
Post Group: Working Newbie
Posts: 50
Status:

AMPPS 4.6.7 & PHP 5.6.9 on Win 7 Pro SP1 x64 4Gb server
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.
IP: --   

Wordpress muiltisite install
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5647
Status:
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
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is April 18, 2024, 2:42 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 10  |  Page Created In:0.020