Responded to your email, it’s probably the /wp-content/upload/ folder not being writable 775.
For others with this sort of error message (you can get it with any WordPress theme) quick way to check your file permissions without using an FTP program or control panel filemanager is to try to use the WordPress media uploader which is available on every post/page edit screen.
Create a new post or static page (you can delete the draft when done testing) and click the upload image link (“Add Media” in newer version of WP) which is below where you add the pages title, browse to an image on your computer and try to upload it. If the write permissions of your uploads folder (by default /wp-content/uploads/) isn’t writable (775 or 777) adding an image will fail.
If it does fail the fix is use an FTP program (I use Filezilla) or control panel filemanager is to go to /wp-content/ and change the /uploads/ folder permissions to 775 (if 775 doesn’t work try 777, but 777 has potential security risks). If the /uploads/ folder doesn’t exist create it.
Also see http://codex.wordpress.org/Changing_File_Permissions for more info (bit technical mind you).
I’m trying to directly upload the Stallion 6.2 theme to my new website and it will not upload (seems like it times-out) or acts like it’s still loading after a couple of minutes worth of uploading.
Do I have to install 6.0 first then install the 6.2 uprade?
Stallion 6.2 doesn’t require an earlier version of Stallion to install.
I’m assuming you are using the WordPress built in theme installer to install the Stallion 6.2 zip file.
Sounds like your server is timing out, there’s various settings that allow a script etc… to run for X number of seconds (a lot of default settings are between 30 and 120 seconds) before timing out, if a server is running correctly those timeout values aren’t hit and everything runs fine, but a server under strain (too much traffic, over sold cheap hosting, loads of possible causes…) and services that are running are delayed and those timeouts can be hit.
Not a Stallion theme issue per se, but the Stallion 6.2 zip file is quite big, about 9MBs (which is big for a theme, it’s all the headers and banners, but not that big that it won’t install). If your server was having resource issues might be more likely to timeout than a smaller zip file since it takes longer to install.
Keep trying until it works, wait an hour to see if the server issues have resolved, if you find after a few tries it still fails and there’s no error messages use FTP to install instead.
If you do think it’s a server resource issue and it’s not a one off issue you’ll probably experience more problems in the future especially if you are installing autoblogs (think you do if I recall correctly), autoblogs can be resource hogs, quite a lot of reports online about hosting accounts being deleted due to using too many server resources!
You could also rule out a corrupt zip file, if you’ve used the zip file for another site it won’t be the zip file. Try extracting the zip file on your computer if there’s an error message the files corrupt, redownload and try again.
BTW best place for Stallion support is at Stallion Theme Support, you can find this link on the top navigation menu on the left with label “Stallion Theme Support” (it’s on every page of the site). I use a plugin for moving comments around, so if it’s posted to the wrong page I can move them, but the original commenter might find it harder to find my response that way, so best to put the support comment in the correct place to start with. Can also add support comments to other pages if it makes sense to that post, so if you were asking for support regarding AdSense best two places to post are either here or the Stallion AdSense Support page (where ever it’s posted I’ll respond). Long term I move comments off the main support page to relevant posts, if someone posts an AdSense question here I’ll move it to the AdSense page long term so related questions and solutions are grouped together for easier access.
The uploaded file exceeds the upload_max_filesize directive in php.ini.
The upload error message above means your hosting account/server has it’s maximum file size set to a smaller size than the Stallion zip file, Stallion is ~9MBs, so below 10MBs basically : many hosts set it really low at 2MBs, why I don’t know, must result in loads of support requests, I wonder if it’s left over from when HD space was at a premium?
Few solutions.
Use FTP to upload the unzipped Stallion theme.
Get your host to increase upload_max_filesize to 24MBs or more (24M will give you plenty of wiggle room for other stuff you might upload).
Edit your php.ini file and add or edit
upload_max_filesize = 24M
You might have a php.ini file in the root of your website.
Not tried this but apparently you can add this to your root .htaccess file as well format:
php_value upload_max_filesize 24M
If this .htaccess change results in a 500 Internal server error it apparently means you aren’t allowed to do this on your server.
I’m Trying to update my stallion theme but got an error like this :
Fatal error: ThemeUpdateChecker::injectUpdate() [<sa href='themeupdatechecker.injectupdate'>themeupdatechecker.injectupdate<s/a>]: The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "ThemeUpdate" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the class definition in wp-content/themes/stallion-seo-theme/plugins/update.php on line 177
I don’t know what causes this error, another customer had the same error.
I use the code from http://w-shadow.com/blog/2011/06/02/automatic-updates-for-commercial-themes/ with no modifications (other than adding the relevant theme data so it works) and have looked through the code for something to fix, but without being able to replicate the problem It’s difficult to find a fix.
Some errors are caused by other plugins being incompatible, this code is used by other commercial plugin/theme developers, maybe having a plugin you use uses this code and it’s causing a problem. Have you tried disabling plugins see if the issue is resolved? If you do find it’s a plugin let me know so I can look into it and find a fix.
For a short term solution you can update via FTP, use the latest zip file
Looking at what that line of code that’s causing the error (line 177) does it’s only activated when the theme has an update, updating via FTP will remove the error until the next update.
If you can’t solve the issue and error messages are getting in the way you could remove the update feature by editing the functions.php file. Delete the last line of code from the file (below is Stallion 7.0.1 code):
<?php if (is_user_logged_in()) { ?><?php include_once 'plugins/update.php'; $example_update_checker = new ThemeUpdateChecker('stallion-seo-theme','http://www.stallion-theme.com/updates/themes/stallion-seo-theme/info.json'); ?><?php } ?>
The above code is improved in Stallion 7.0.1, in Stallion 6.2 the update code was loaded all the time, in Stallion 7 it’s only loaded when a user is logged in. So your visitors won’t see any errors related to this code in Stallion 7+ even when you do (when logged in).
Stallion is designed for all self hosted WordPress blog users (can’t be used at wordpress.com) and is very easy to use considering what you can achieve with a WordPress blog running Stallion.
If you have self hosted WordPress up and running already installing Stallion is no harder than any other premium theme. Install Stallion like you would any theme, copy and paste an activation code (provided during the order process) on the main Stallion options page and you are good to go.
As there are 13 options pages with hundreds of options it does take time to learn what Stallion can achieve (there are theme tutorials on this site), but that’s Stallion advanced use and it’s easy to learn over time. If you can read and understand what an option does and click a mouse there’s no reason why a complete newbie can’t use Stallion to create sites exactly the same as I do.
For example in the next Stallion update I’ve added a Privacy Policy Static Page Template. In WordPress when you create a Static Page (like an About Page) you can select a different template (in the next Stallion update there’s 15 Stallion Page templates, Stallion is also special when it comes to Page Templates as they can also be used on Blog Posts as well – don’t know of any other theme that has this feature). So if you want a Privacy Policy page to meet AdSense T&Cs next Stallion update makes it easy, create a Page, call it Privacy Policy or similar, select the Privacy Policy Page Template and you’ll have a privacy policy page without having to type anything else.
That’s a great feature by itself, it gets better. On the main Stallion options page there’s 3 options related to the Privacy Page. Hide or show a link to a Privacy Page in the footer area, the URL to the privacy page and the anchor text of the link to the privacy page.
The Privacy Policy Page Template has code to generate a URL for the site the Privacy Policy is for, it has two options. It can use the URL to the privacy page that a user can add to the Stallion options page or use the HTTP Referer URL (which to use is set on the Stallion options page as part of the show/hide footer link option).
The HTTP Referer URL is the URL the visitor came from, so if I clicked a link from domain1.com/page-i-am-on.html that went to domain2.com/privacy-policy.html the HTTP Referer URL is domain1.com/page-i-am-on.html.
This means using Stallion you can create one Privacy Policy page (at domain2.com/privacy-policy.html) for all your websites and use Stallion to have a footer link to that page from all your sites. I have around 90 WordPress blogs, I down’t want to create 90 Privacy Policy pages, so I’ll create one and link to it, when a visitor clicks the footer link to the privacy policy page it reads
Privacy Policy Page for website domain1.com/page-i-am-on.html
This sounds really complicated right? To code it is quite complicated, but to use it’s easy, see the image below to see the screenshot of the new settings.
That’s about as complicated as it gets for the vast majority of options. There’s a lot of very advanced WordPress techniques built into Stallion, but I’ve made it as easy as possible to use them. When trying to push limits some features do take more effort, but most features built into Stallion are usable by newbies. Remember I use Stallion on around 90 domains to make money online, when I need a new feature I add it to Stallion and make it as easy as possible to use without degrading it’s impact. When a customer runs into a problem, I see an opportunity to add a new set of features.
I tend to use a similar setup on all my sites, so to make it easier I’ve added a set of what I call SEO Defaults for my and customers use, near the bottom of the main Stallion options page is a tick box for using those defaults: tick a box, click a save button and a site very similar to this one. Edit a handful of settings and you have a unique website.
So two clicks of the mouse and you can have a site not much different to the one you are on now.
All that being said, I know Mark who regularly comments here has been using Stallion before it was called Stallion :-) is offering a Stallion setup service, can pass your email address to Mark if you want?
Installing WordPress Themes : Maximum Upload File Size Set Too Low
Means your hosting account has it’s maximum upload file size set too low, Talian isn’t even 2MB so you must have a host with a really small upload size. Amazing we are in 2012 and hosts still set this to below 2MB, there are images bigger than this now!
Either contact your host to increase the size, you might have the setting in a control panel (some hosts do, some don’t) or be able to achieve this via a php.ini file (again some hosts do, some don’t) I suggest 16MB gives plenty of room for anything else you might install.
Or use FTP to install Talian, see Talian Installation Using FTP or WordPress Theme Installer article.
Upload a WordPress Theme
David,
Something is not right with your Stallion SEO Theme. I just paid for it and downloaded it. But WP doesn’t like it !
After Uploading the Zip file into WordPress, I get this error message:
The uploaded file could not be moved to ..XXXX/public_html/myDomain/wp-content/uploads/2011/12.
Any ideas?
Steve
WordPress Upload Folder Permissions Tutorial
Responded to your email, it’s probably the /wp-content/upload/ folder not being writable 775.
For others with this sort of error message (you can get it with any WordPress theme) quick way to check your file permissions without using an FTP program or control panel filemanager is to try to use the WordPress media uploader which is available on every post/page edit screen.
Create a new post or static page (you can delete the draft when done testing) and click the upload image link (“Add Media” in newer version of WP) which is below where you add the pages title, browse to an image on your computer and try to upload it. If the write permissions of your uploads folder (by default /wp-content/uploads/) isn’t writable (775 or 777) adding an image will fail.
If it does fail the fix is use an FTP program (I use Filezilla) or control panel filemanager is to go to /wp-content/ and change the /uploads/ folder permissions to 775 (if 775 doesn’t work try 777, but 777 has potential security risks). If the /uploads/ folder doesn’t exist create it.
Also see http://codex.wordpress.org/Changing_File_Permissions for more info (bit technical mind you).
David
WordPress Upload Folder Permissions Tutorial
How to Install a New WordPress Theme?
David,
I’m trying to directly upload the Stallion 6.2 theme to my new website and it will not upload (seems like it times-out) or acts like it’s still loading after a couple of minutes worth of uploading.
Do I have to install 6.0 first then install the 6.2 uprade?
Thanks,
Randy
Managing WordPress Resources
Stallion 6.2 doesn’t require an earlier version of Stallion to install.
I’m assuming you are using the WordPress built in theme installer to install the Stallion 6.2 zip file.
Sounds like your server is timing out, there’s various settings that allow a script etc… to run for X number of seconds (a lot of default settings are between 30 and 120 seconds) before timing out, if a server is running correctly those timeout values aren’t hit and everything runs fine, but a server under strain (too much traffic, over sold cheap hosting, loads of possible causes…) and services that are running are delayed and those timeouts can be hit.
Not a Stallion theme issue per se, but the Stallion 6.2 zip file is quite big, about 9MBs (which is big for a theme, it’s all the headers and banners, but not that big that it won’t install). If your server was having resource issues might be more likely to timeout than a smaller zip file since it takes longer to install.
Keep trying until it works, wait an hour to see if the server issues have resolved, if you find after a few tries it still fails and there’s no error messages use FTP to install instead.
If you do think it’s a server resource issue and it’s not a one off issue you’ll probably experience more problems in the future especially if you are installing autoblogs (think you do if I recall correctly), autoblogs can be resource hogs, quite a lot of reports online about hosting accounts being deleted due to using too many server resources!
You could also rule out a corrupt zip file, if you’ve used the zip file for another site it won’t be the zip file. Try extracting the zip file on your computer if there’s an error message the files corrupt, redownload and try again.
BTW best place for Stallion support is at Stallion Theme Support, you can find this link on the top navigation menu on the left with label “Stallion Theme Support” (it’s on every page of the site). I use a plugin for moving comments around, so if it’s posted to the wrong page I can move them, but the original commenter might find it harder to find my response that way, so best to put the support comment in the correct place to start with. Can also add support comments to other pages if it makes sense to that post, so if you were asking for support regarding AdSense best two places to post are either here or the Stallion AdSense Support page (where ever it’s posted I’ll respond). Long term I move comments off the main support page to relevant posts, if someone posts an AdSense question here I’ll move it to the AdSense page long term so related questions and solutions are grouped together for easier access.
David
Managing WordPress Resources
WordPress The uploaded file exceeds the upload_max_filesize directive in php.ini
Hi David,
Trying to upload the theme and got this message:
I was wondering if I could get some advice?
Thanks
WordPress upload_max_filesize Directive Error Fix
The upload error message above means your hosting account/server has it’s maximum file size set to a smaller size than the Stallion zip file, Stallion is ~9MBs, so below 10MBs basically : many hosts set it really low at 2MBs, why I don’t know, must result in loads of support requests, I wonder if it’s left over from when HD space was at a premium?
Few solutions.
Use FTP to upload the unzipped Stallion theme.
Get your host to increase upload_max_filesize to 24MBs or more (24M will give you plenty of wiggle room for other stuff you might upload).
Edit your php.ini file and add or edit
You might have a php.ini file in the root of your website.
Not tried this but apparently you can add this to your root .htaccess file as well format:
If this .htaccess change results in a 500 Internal server error it apparently means you aren’t allowed to do this on your server.
Easiest solution is FTP.
David
WordPress upload_max_filesize Directive Error Fix
PHP upload_max_filesize Directive
Thanks for your expedient Help!
This theme is awesome, got it uploaded & cant wait to learn more!
WordPress Update Error
hi ,
I’m Trying to update my stallion theme but got an error like this :
Please advice thanks
WordPress Update Error
WordPress Automatic Updates For Premium Themes
I don’t know what causes this error, another customer had the same error.
I use the code from http://w-shadow.com/blog/2011/06/02/automatic-updates-for-commercial-themes/ with no modifications (other than adding the relevant theme data so it works) and have looked through the code for something to fix, but without being able to replicate the problem It’s difficult to find a fix.
Some errors are caused by other plugins being incompatible, this code is used by other commercial plugin/theme developers, maybe having a plugin you use uses this code and it’s causing a problem. Have you tried disabling plugins see if the issue is resolved? If you do find it’s a plugin let me know so I can look into it and find a fix.
For a short term solution you can update via FTP, use the latest zip file
Looking at what that line of code that’s causing the error (line 177) does it’s only activated when the theme has an update, updating via FTP will remove the error until the next update.
If you can’t solve the issue and error messages are getting in the way you could remove the update feature by editing the functions.php file. Delete the last line of code from the file (below is Stallion 7.0.1 code):
The above code is improved in Stallion 7.0.1, in Stallion 6.2 the update code was loaded all the time, in Stallion 7 it’s only loaded when a user is logged in. So your visitors won’t see any errors related to this code in Stallion 7+ even when you do (when logged in).
David
WordPress Automatic Updates For Premium Themes
WordPress Theme Setup
Hello,
I am interested in the Stallion theme, however, I think I need help.
Where can i find someone to help me put this all together?
Also, is the Stallion theme only for wordpress.org or can you also use it for wordpress.com blogs?
Thank you.
Joey Kantor
Las Vegas, Nevada
Stallion SEO Theme Ease of Use
Stallion is designed for all self hosted WordPress blog users (can’t be used at wordpress.com) and is very easy to use considering what you can achieve with a WordPress blog running Stallion.
If you have self hosted WordPress up and running already installing Stallion is no harder than any other premium theme. Install Stallion like you would any theme, copy and paste an activation code (provided during the order process) on the main Stallion options page and you are good to go.
As there are 13 options pages with hundreds of options it does take time to learn what Stallion can achieve (there are theme tutorials on this site), but that’s Stallion advanced use and it’s easy to learn over time. If you can read and understand what an option does and click a mouse there’s no reason why a complete newbie can’t use Stallion to create sites exactly the same as I do.
For example in the next Stallion update I’ve added a Privacy Policy Static Page Template. In WordPress when you create a Static Page (like an About Page) you can select a different template (in the next Stallion update there’s 15 Stallion Page templates, Stallion is also special when it comes to Page Templates as they can also be used on Blog Posts as well – don’t know of any other theme that has this feature). So if you want a Privacy Policy page to meet AdSense T&Cs next Stallion update makes it easy, create a Page, call it Privacy Policy or similar, select the Privacy Policy Page Template and you’ll have a privacy policy page without having to type anything else.
That’s a great feature by itself, it gets better. On the main Stallion options page there’s 3 options related to the Privacy Page. Hide or show a link to a Privacy Page in the footer area, the URL to the privacy page and the anchor text of the link to the privacy page.
The Privacy Policy Page Template has code to generate a URL for the site the Privacy Policy is for, it has two options. It can use the URL to the privacy page that a user can add to the Stallion options page or use the HTTP Referer URL (which to use is set on the Stallion options page as part of the show/hide footer link option).
The HTTP Referer URL is the URL the visitor came from, so if I clicked a link from domain1.com/page-i-am-on.html that went to domain2.com/privacy-policy.html the HTTP Referer URL is domain1.com/page-i-am-on.html.
This means using Stallion you can create one Privacy Policy page (at domain2.com/privacy-policy.html) for all your websites and use Stallion to have a footer link to that page from all your sites. I have around 90 WordPress blogs, I down’t want to create 90 Privacy Policy pages, so I’ll create one and link to it, when a visitor clicks the footer link to the privacy policy page it reads
This sounds really complicated right? To code it is quite complicated, but to use it’s easy, see the image below to see the screenshot of the new settings.
That’s about as complicated as it gets for the vast majority of options. There’s a lot of very advanced WordPress techniques built into Stallion, but I’ve made it as easy as possible to use them. When trying to push limits some features do take more effort, but most features built into Stallion are usable by newbies. Remember I use Stallion on around 90 domains to make money online, when I need a new feature I add it to Stallion and make it as easy as possible to use without degrading it’s impact. When a customer runs into a problem, I see an opportunity to add a new set of features.
I tend to use a similar setup on all my sites, so to make it easier I’ve added a set of what I call SEO Defaults for my and customers use, near the bottom of the main Stallion options page is a tick box for using those defaults: tick a box, click a save button and a site very similar to this one. Edit a handful of settings and you have a unique website.
So two clicks of the mouse and you can have a site not much different to the one you are on now.
All that being said, I know Mark who regularly comments here has been using Stallion before it was called Stallion :-) is offering a Stallion setup service, can pass your email address to Mark if you want?
David
Stallion SEO Theme Ease of Use
How to Install a WordPress Theme?
When I try to upload the Talian Theme I get: File is too big.
Installing WordPress Themes : Maximum Upload File Size Set Too Low
Means your hosting account has it’s maximum upload file size set too low, Talian isn’t even 2MB so you must have a host with a really small upload size. Amazing we are in 2012 and hosts still set this to below 2MB, there are images bigger than this now!
Either contact your host to increase the size, you might have the setting in a control panel (some hosts do, some don’t) or be able to achieve this via a php.ini file (again some hosts do, some don’t) I suggest 16MB gives plenty of room for anything else you might install.
Or use FTP to install Talian, see Talian Installation Using FTP or WordPress Theme Installer article.
David
Installing WordPress Themes : Maximum Upload File Size Set Too Low
WordPress Theme Without Theme Images
I also got it to work by taking out images I knew I would not use and decreasig the size.
Maximum Upload File Size Set Increased
Many Thanks it worked