Emerson Maningo
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Error uploading & displaying imagesPermission errors could be due to several things. It could be due to some wrong configuration in your hosting server. The easiest way of dealing this is to open a ticket to your web hosting company and describe the above issue.
It is because permission issues might require root permissions to fix inside your directories.
WordPress has a documentation regarding changing file permissions, you can check it here: https://ww.wp.xz.cn/support/article/changing-file-permissions/
Forum: Developing with WordPress
In reply to: Difference between of_get_option and get_option?Yes I’ve searched the WordPress codebase and it seems that
of_get_option()is not a WordPress core function. It could be a custom function inside a theme or some plugin.For best practice, please only use WordPress core functions when needed in your theme. This means that for fetching data from the WordPress database options table you should be using
get_option.Forum: Networking WordPress
In reply to: Enable Alternative Subdomains for a multisite SubdomainYes it called Domain Mapping. Make sure each alternate address that you want to use have fully working DNS so it will resolve to your site.
Then in the network, go to each site and click Edit. In info -> Site Address (URL), use the alternate address. That should work as this is already supported inside core.
Forum: Fixing WordPress
In reply to: WP redirecting to badly formed urlsI would do the most basic check:
- Deactivate all plugins.
- Switch to Twenty nineteen default theme
- Clear browser cache
Then re-check if issue is still reproducible. If not anymore, it has something to do with one of your plugins or themes. You can then enable them one at a time, to see what plugin/theme is causing it.
If the issue is still reproducible even with all plugins deactivated and themes switch to default. Try resetting your permalink to default and check your .htaccess to see if something is added there that is customized.
Beyond this, if it appears normal I might contact hosting support for any ideas.
Forum: Networking WordPress
In reply to: Seeking help or solutionIt’s most likely have something to do with WordPress roles and capabilities. In multisite, each site has its own administrators. If some users does not have admin rights on different sites, they cannot access that site admin panel its why you can see those errors. They can only access the settings page on a site where they are users and given administrator capabilities.
If you want them to allow access on that site, you need to:
- Add user to that site via Users -> Add new
- Make sure to give them administrator role if you want them to access settings page
Try this and check if it works.
Forum: Fixing WordPress
In reply to: Recover wordpress.com/jetpack login from DB backup?You can do two things:
- Restore the original database to a local MySQL server (either using phpMyadmin or MySQL workbench. Just restore the database, you don’t need to restore the entire WordPress site. Once the database is restored, search the database for that mising Jetpack contact info. It should be recorded somewhere in dB. Using phpmyadmin or workbench makes this searching easier.
- Contact Jetpack and provide whatever information you may have that could help them retrieve the correct account. Or contact the original person to do it.
I’m not a jetpack expert so it would be good if someone from Jetpack could comment as to how this info is stored.
Forum: Fixing WordPress
In reply to: Redirecting to Login Pagehi Shafiuddin,
Without much information, we could not determine the problem easily. The best thing you can do is to run a troubleshooting to isolate where the issue could be. I would try each one of following to see what fixes the above issue:- Clear browser history and login to WordPress again
- Deactivate any caching plugins to see if its related to some misconfiguration
- Deactivate plugins one at a time to see if its related to some plugins
- Switch theme to Twenty nineteen to see if the issue is theme related
- Check if your user has administrator privileges or post editing capabilities
Good luck !
@fistfullofcrisco I’ve tested and confirm that W3tc-fixed didn’t fixed the issue. I debugged this one and it seems that W3TC replaces all paths at the WordPress shutdown hook when flushing the buffer.
The bug occured at
CdnEngine_S3.phpand the affected method is_format_urlIt processes URLs and paths regardless of their usage (including paths used in the BBpress reply content for example purposes like code snips).
The workaround is simple though. We replace single quote with double quote inside the code snippets and its working fine now. I’m leaving this ticket open so perhaps this can be permanently fix inside W3TC. Thanks.
Thanks! I’ll check on that w3tc-fixed version to see if this fixes the issue. Otherwise, we may need to look for alternative solution to fix this temporarily in our end.
I’ll let you know the results. 🙂
Forum: Localhost Installs
In reply to: Error connecting to DBI may look at this following areas:
->Try logging in to phpmyadmin using the username and password, can you login there?
->Re-install WordPress probably some files got corrupted.
->Check if you have created the dB and user correctly:
https://codex.ww.wp.xz.cn/Installing_WordPress#Step_2:_Create_the_Database_and_a_User->If you are in Linux, try checking for correct file permissions: https://codex.ww.wp.xz.cn/Changing_File_Permissions
Probably WordPress or PHP won’t be able to read some files due to permission issues.Forum: Plugins
In reply to: [WooCommerce] PayPal redirecting users to wrong URLAs an update. I got the same error and I think I found the cause after some debugging. I created an issue tracker on Github to WooCommerce here:
Hi zfriedlander,
I just released version 8.0 which is compatible to WordPress 3.5. Please test this version. If it is working. Please mark this as resolved. Thank you.Codex.
Forum: Plugins
In reply to: [Sort SearchResult By Title] V7.0 is broken in WP3.5Hi Harold,
I have updated the plugin to version 3.5. That should be working for that version. Please let me know if you have encounter any problems. If the issue is gone, please mark this as resolved. Thanks.Codex
Forum: Localhost Installs
In reply to: localhost redirects to remote site on loadOK try examining your .htaccess to make sure there are no redirects in there. If you are updating the home and siteurl , it should point to your localhost installation such as:
or
If WordPress is installed on the local host root.
If you are using Firebug check the header status returned when you load the site in the browser, it can give you some clues.
Also if you manually editing the site root index.php or header.php it might contain some script that automatically redirects it to your remote site.
These are things that you need to check.
Great plugin Labnol! One question: Is it possible to export the social sharing analytics data into a CSV or excel file? Thanks.