I installed WordPress through the RPM package of Fedora 20, on a local PC. It worked, except that there were no “Add new” button either in “Plugins” or in “Appearance→Themes”, because /usr/share/wordpress/wp-config.php included the 2 lines:
/* Disable all file change, as RPM base installation are read-only */
define('DISALLOW_FILE_MODS', true);
I reported a bug to Fedora bugzilla and replaced “true” by “false”. Then I got the “Add new” buttons, but my computer is not configured to be a FTP server (which seems a bit complicated to do) and, whatever plugin I put in /usr/share/wordpress/wp-content/plugins , it doesn’t appear in the plugins list page
https://localhost/wordpress/wp-admin/plugins.php
I checked the plugin folders were not nested.
In wp-config.php, line define('AUTOMATIC_UPDATER_DISABLED', true);
, I tried replacing “true” by “false”, which did no good.
I changed the owner and rights:
# chown -R apache:apache /etc/wordpress/
# cd /usr/share/wordpress/
# chown -R apache:apache .
# find . -type f -exec chmod 644 {} \;
# find . -type d -exec chmod 755 {} \;
not to avail…
I have the same problem with themes, except that, when I want to install a theme already installed, I’m only proposed to update it, not to install it, and, if I choose to do so, am answered it is already up to date.
Do you have any idea to get installed plugins and templates show up?
]]>I installed WordPress on Fedora through the package manager. When I tried adding a plugin I got a permission error. Since Google got me nowhere, and after much mucking about with SELinux, I decided to explore WordPress’s configuration file manually. The solution was so simple that I couldn’t believe all the time I wasted Googling for the answer.
Simply change “true” to “false” in the following lines in wp-config.php
:
define('DISALLOW_FILE_MODS', false);
define('AUTOMATIC_UPDATER_DISABLED', false);
That’s all! Good luck!
]]>[Wed Sep 11 14:12:48.450116 2013] [:error] [pid 8845] [client 127.0.0.1:55878] PHP Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0
[Wed Sep 11 14:12:48.450185 2013] [:error] [pid 8845] [client 127.0.0.1:55878] PHP Fatal error: Unknown: Failed opening required ‘/var/www/html/wp-admin/install.php’ (include_path=’.:/usr/share/pear:/usr/share/php’) in Unknown on line 0
The permissions for /var/www/html/ and subdirectories are set to 755 (I’ve tried 777 in desperation; no difference!). What else could be casuing the problem?
Thanks for your help!
]]>What’s in CRON output:
Next due (GMT/UTC) Schedule Hook Arguments
Aug 22, 2013 @ 11:35 (1377185717) Once Every 10 Minutes wp_rss_multi_event_feedtopost
Aug 22, 2013 @ 11:44 (1377186264) Once Daily yoast_tracking
Aug 22, 2013 @ 11:47 (1377186473) Once Hourly wp_rss_multi_event
Aug 22, 2013 @ 14:02 (1377194573) Once Daily wp_scheduled_auto_draft_delete
Aug 22, 2013 @ 17:18 (1377206299) Twice Daily wp_version_check
Aug 22, 2013 @ 17:18 (1377206299) Twice Daily wp_update_plugins
Aug 22, 2013 @ 17:18 (1377206299) Twice Daily wp_update_themes
Aug 22, 2013 @ 17:18 (1377206307) Once Daily wp_scheduled_delete
Aug 23, 2013 @ 7:31 (1377257471) [W3TC] Minify file GC (every 86400 seconds) w3_minify_cleanup
Aug 23, 2013 @ 10:21 (1377267690) Once Daily akismet_scheduled_delete
CRON is working. Update notification and etc arrive as normal. New articles, however, are posted between the hours of 10PM and 2PM, ever 30 minutes instead of 10 minutes, as I have set in the “feed to post” options.
Pages with [Shortcode] work perfectly and retrieve current feeds correctly.
Very difficult for me to decide if it is a problem with the system “time”, anacron, a combination or the way your plug-in determines time… or something else entirely.
Any ideas? Thank you, Mr. Weiss.
bd.summit.net/articles
https://www.ads-software.com/plugins/wp-rss-multi-importer/
]]>I copied the contents of the /var/lib/mysql directory to the new host and the httpd.conf file. I created the new password on the new host and logged in. I can see the databases and tables. I have a combination of sites using one database and some sites each using separate databases. The two that use the common database ,”wordpress”, are not working. I get a failure to connect to database. The other sites are working fine.
I went to the wp-admin page for one web site and it showed that the database needed repaired. I pressed the “Repair” button and got a number of errors. I did the Database rebuild commands in the MySQL database. Now I get a blank page when going to the content, but I go to the dashboard when going to wp-admin.
I have restored from multiple backups and get the same results. The primary unresolved problems seems to be that some database tables had multiple users and that they were closed (crashed) while in use.
Please can you help!!
Fortunately, I can redirect the incoming requests back to my original server using DNAT in my firewall and all of my web sites work fine.
]]>I have exactly the same problem as this thread with no responses
I have a localhost on Fedora. When I try to add/erase plugins or themes, it asks for FTP credentials. I input them and I get either one of these two messages: error connecting to server, check configuration; wrong password for that user.
I have tried both the root Fedora user and the standard user I am running at the moment. In vsftpd.conf I have local_enable=YES and anonymous_enable=YES.
I have tried to create a new user for FTP with: useradd ftpuser -d /var/www/sites/wordpress. It answers that the directory cannot be created.
I know that the problem is not related to SELinux, since it’s set to permissive now.
Any suggestions please?
]]>Now, on this Fedora box, it always asks me to enter FTP credentials when trying to install themes. I’m unfamiliar with configuring FTP, as I’m a fairly new Linux user. When I enter what I think are the correct credentials (tried ftp user, root, local user), it tells me the connection failed. I’ve installed vsftpd through yum along with the GUI component (system-config-vsftpd), and still couldn’t figure out how to make it work. Would SELinux cause this?
I’ve looked all over and, while I’ve found several responses regarding this issue, no solutions seemed to help (added localhost to hosts file, used localhost as server name, etc.)
Any help would be appreciated
“image.jpg” has failed to upload due to an error
The uploaded file could not be moved to /var/www/html/cafe/blog/wp-content/uploads/2010/10.
Does anyone know what selinux boolean I need to enable to fix this? Thanks!
]]>