LandyVlad
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: File upload issue – media folderUpdate OK weirdness.
I looked in the upload folder itself and one of the files which ‘errored’ is actually there but is not showing up in the media linbrary. I had to delete it via cpanel and then upload again through media library (as before) and now it is showing.
No longer having any uploading troubles.
For now.
I am, very confused.
What I would do is re-enable the rules from Really Simple Security by uncommenting them, re-save the Permalinks settings as mentioned previously; and check if the issue is resolved by doing so.
Didn’t work.
If not, you can always revert to the ‘standard’ WordPress redirect (301 PHP redirect) instead of the .htaccess redirect, since this seems to be what causes the issue for you. Navigate to Security -> Settings -> SSL and set it to 301 PHP redirect instead.
Did work! Thanks Jamo.
htaccess file now looks like this
# BEGIN WordPress
# The directives (lines) between "BEGIN WordPress" and "END WordPress" are
# dynamically generated, and should only be modified via WordPress filters.
# Any changes to the directives between these markers will be overwritten.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
php_value upload_max_filesize 138M
php_value post_max_size 138M
php_value max_execution_time 300
php_value max_input_time 300
# BEGIN LiteSpeed
# The directives (lines) between "BEGIN LiteSpeed" and "END LiteSpeed" are
# dynamically generated, and should only be modified via WordPress filters.
# Any changes to the directives between these markers will be overwritten.
<IfModule Litespeed>
SetEnv noabort 1
</IfModule>
# END LiteSpeed
# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php80” package as the default “PHP” programming language.
<IfModule mime_module>
AddHandler application/x-httpd-ea-php80 .php .php8 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not editThe below is the htaccess file in my public html directory, as it stands now.
#Begin Really Simple Security
# <IfModule mod_rewrite.c>
# RewriteEngine on
# RewriteCond %{HTTP:X-Forwarded-Proto} !https
# RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/
# RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]
# </IfModule>
#End Really Simple Security
# BEGIN WordPress
# The directives (lines) between "BEGIN WordPress" and "END WordPress" are
# dynamically generated, and should only be modified via WordPress filters.
# Any changes to the directives between these markers will be overwritten.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
php_value upload_max_filesize 138M
php_value post_max_size 138M
php_value max_execution_time 300
php_value max_input_time 300
# BEGIN LiteSpeed
# The directives (lines) between "BEGIN LiteSpeed" and "END LiteSpeed" are
# dynamically generated, and should only be modified via WordPress filters.
# Any changes to the directives between these markers will be overwritten.
<IfModule Litespeed>
SetEnv noabort 1
</IfModule>
# END LiteSpeed
# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php80” package as the default “PHP” programming language.
<IfModule mime_module>
AddHandler application/x-httpd-ea-php80 .php .php8 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not editas you can see the Really Simple Security code at the top of the file is commented out.
Forum: Plugins
In reply to: [WooCommerce] critical error when accessing widgetsFurther to the above I DEACTIVATED WooCommerce itself.
I could then go in and delete the contents of the sidebar.
I then reactivated woocommerce.
I seem to be able to access the widgets screen now.
Any ideas as to what may have caused this / how to prevent a recurrence?
Thanks
- This reply was modified 2 years, 8 months ago by LandyVlad.
Forum: Plugins
In reply to: [WooCommerce] Failed import – catalogue visibilityFixed! I found out by looking at the sample file it needed to be ‘visible’
Success !
Forum: Plugins
In reply to: [WooCommerce] Unable to upload a products csv fileHaving changed hosting this issue is resolved.
Thank you for your assistance.
However I now have another (unrelated one) but I’ll post a new thread on that ( https://ww.wp.xz.cn/support/topic/failed-import-catalogue-visibility/ )Forum: Plugins
In reply to: [WooCommerce] Unable to upload a products csv fileOK so I found out that the site is actually hosted somewhere different to what I thought – there were duplicate accounts but only one with the DNS pointing to it.
I’m trying to access that and transfer it to my own hosting to sort this out!
Thanks for your help so far I’ll report back how it finally works out for future reference. 🙂
Forum: Plugins
In reply to: [WooCommerce] Unable to upload a products csv fileFor additional information which may be relevant.
Further to the above I found a thread on this same problem hereThat person managed to resolve the issue (at their host) as follows:
” … php8.0… some php packages were not installed for that version the package I needed was mb_detect_encoding this is for giving php the capabilties to process CSV information. I had to enable and install it on WHM – cPanel. The package on whm is called php80-php-mbstring.”I looked in what I thought was the appropriate place – PHP PEAR packages.
I searched for the package php80-php-mbstring – not found.
Searched for variations of that: php80-php & php-mbstring & mbstring – none found.Tried to install it anyway –
parsePackageName(): only one version/state delimiter “-” is allowed in “php80-php-mbstring”
invalid package name/package file “php80-php-mbstring”
install failedAlso searched for mb_detect_encoding but couldn’t find anything with that name either.
I contacted my hosting provider who stated that “The mbstring PHP 8.0 extension and by extension the mb_detect_encoding function is installed. GD, which is sometimes a requirement, is also enabled.”
So now what? Suggestions?Forum: Plugins
In reply to: [WooCommerce] Unable to upload a products csv fileSadly no luck.
I have tried all convolutions of the above suggestion.
- (existing) Divi theme, all plugins bar woocommerce enabled.
- Divi theme, all plugins bar woocommerce disabled.
- Storefront theme, all plugins bar woocommerce disabled.
Still exactly the same behaviour as per my original post.
It’s very frustrating for sure – any other ideas?
Could these things have anything to do with it? Perhaps someone can explain them to me? On the face of it, it doesn’t appear to me that either of these would or could cause the issue I am experiencing.
SoapClient: ❌ Your server does not have the SoapClient class enabled - some gateway plugins which use SOAP may not work as expected. Multibyte String: ❌ Your server does not support the mbstring functions - this is required for better character encoding. Some fallbacks will be used instead for it.Forum: Plugins
In reply to: [WooCommerce] Unable to upload a products csv fileYep that’s exactly whats missing )OK I’ll find and install the storefront theme and see how I go. It’s on a live website so I hope it’s a quick process to do imports?
Forum: Plugins
In reply to: [WP STAGING - WordPress Backup, Restore & Migration] Staging to live?In order to prevent a customer from having access to a staging site while in progress, I would prefer to set it up like this.
They would have an existing website at http://www.customerbusinessname.com
I would develop their new website at (for example) staging1.mywebsite.com
On completion I’d then push the website from staging1.mywebsite.com to be LIVE at http://www.customerbusinessname.com (replacing the existing website completely).
Can WP staging do this? Easily? If so is there info in the documentation about it?
Ta
Forum: Fixing WordPress
In reply to: Media Library missing imagesSigh.. still nothing eh.
Forum: Plugins
In reply to: [WP STAGING - WordPress Backup, Restore & Migration] Staging to live?Thank you
Forum: Fixing WordPress
In reply to: Media Library missing imagesWell it has been a while and I have yet to determine how this occurred or any way to solve it.
If anyone sees this – any other ideas?
Forum: Fixing WordPress
In reply to: de-link wordpress from installatron / softaculousThanks mate.
yep I know they are cpanel tools, I’ll check with the host per your suggestion.
Cheers