Hi, fitzj–& welcome. From what you’re telling us, it seems to be confined to only 1 plugin, i.e., your all-in-one seo pack. You could try reinstalling that particular plugin. Conversely, if that’s not something you want to do, then you might wish to refer to this topic, where I assisted a user w/a somewhat different situation, i.e., it was a different plugin, but very much the same principles apply, as the site was moved from localhost.
http://ww.wp.xz.cn/support/topic/links-goes-to-localhost?replies=5
Please let us know if you require further help. If this resolved your difficulty, please help us by marking the thread as resolved–we really appreciate it.
Thread Starter
fitzj
(@fitzj)
Ran the script and fixed loads of links great tool, but sadly it did not fix my problem. Where to now??? searched for this line of code in the database but nothing?
Downloading update from https://downloads.wp.xz.cn/plugin/contact-form-7.3.9.3.zip…
Warning: touch(): Unable to create file C:/xampp/apps/wordpress/tmp/contact-form-7.tmp because No such file or directory in /home/totali9/public_html/wp-admin/includes/file.php on line 155
Warning: unlink(C:/xampp/apps/wordpress/tmp/contact-form-7.tmp): No such file or directory in /home/totali9/public_html/wp-admin/includes/file.php on line 500
Download failed. Destination directory for file streaming does not exist or is not writable.
Return to Plugins page
Fitzj, have you checked your .htaccess file(s) to see if there are any entries that point to localhost as opposed to the live site?
Thread Starter
fitzj
(@fitzj)
I went back to my locally install site and exported the database again and using Notepad++ I found this entry.
40, ‘recently_edited’, ‘a:5:{i:0;s:71:”C:\\xampp\\apps\\wordpress\\htdocs/wp-content/plugins/include-me/plugin.php”;i:1;s:72:”C:\\xampp\\apps\\wordpress\\htdocs/wp-content/themes/nevada/template-faq.php”;i:2;s:65:”C:\\xampp\\apps\\wordpress\\htdocs/wp-content/themes/nevada/style.css”;i:3;s:64:”C:\\xampp\\apps\\wordpress\\htdocs/wp-content/themes/nevada/home.php”;i:4;s:71:”C:\\xampp\\apps\\wordpress\\htdocs/wp-content/plugins/exec-php/exec-php.php”;}’, ‘no’),
Now should I delete this section or put in the new doamin name up to wp-content?
Likely the best thing to do is to run a search-&-replace on the database, replacing all instances referring to a local install w/the correct remote location. Remember to back up your database, though, before making any changes. Global search-&-replace operations can be particularly dangerous, & you’ll want to have something to go back to if things go fubar, even if that something is broken. Databases can be pretty persnickety about format, etc., so you’ll likely be best off using the script I suggested earlier. But please do back it up before proceeding.
Thread Starter
fitzj
(@fitzj)
found 5 instances of the xampp.
Line 374: (40, ‘recently_edited’, ‘a:5:{i:0;s:71:”C:\\xampp\\apps\\wordpress\\htdocs/wp-content/plugins/include-me/plugin.php”;i:1;s:72:”C:\\xampp\\apps\\wordpress\\htdocs/wp-content/themes/nevada/template-faq.php”;i:2;s:65:”C:\\xampp\\apps\\wordpress\\htdocs/wp-content/themes/nevada/style.css”;i:3;s:64:”C:\\xampp\\apps\\wordpress\\htdocs/wp-content/themes/nevada/home.php”;i:4;s:71:”C:\\xampp\\apps\\wordpress\\htdocs/wp-content/plugins/exec-php/exec-php.php”;}’, ‘no’),
Line 374: (40, ‘recently_edited’, ‘a:5:{i:0;s:71:”C:\\xampp\\apps\\wordpress\\htdocs/wp-content/plugins/include-me/plugin.php”;i:1;s:72:”C:\\xampp\\apps\\wordpress\\htdocs/wp-content/themes/nevada/template-faq.php”;i:2;s:65:”C:\\xampp\\apps\\wordpress\\htdocs/wp-content/themes/nevada/style.css”;i:3;s:64:”C:\\xampp\\apps\\wordpress\\htdocs/wp-content/themes/nevada/home.php”;i:4;s:71:”C:\\xampp\\apps\\wordpress\\htdocs/wp-content/plugins/exec-php/exec-php.php”;}’, ‘no’),
Line 374: (40, ‘recently_edited’, ‘a:5:{i:0;s:71:”C:\\xampp\\apps\\wordpress\\htdocs/wp-content/plugins/include-me/plugin.php”;i:1;s:72:”C:\\xampp\\apps\\wordpress\\htdocs/wp-content/themes/nevada/template-faq.php”;i:2;s:65:”C:\\xampp\\apps\\wordpress\\htdocs/wp-content/themes/nevada/style.css”;i:3;s:64:”C:\\xampp\\apps\\wordpress\\htdocs/wp-content/themes/nevada/home.php”;i:4;s:71:”C:\\xampp\\apps\\wordpress\\htdocs/wp-content/plugins/exec-php/exec-php.php”;}’, ‘no’),
Line 374: (40, ‘recently_edited’, ‘a:5:{i:0;s:71:”C:\\xampp\\apps\\wordpress\\htdocs/wp-content/plugins/include-me/plugin.php”;i:1;s:72:”C:\\xampp\\apps\\wordpress\\htdocs/wp-content/themes/nevada/template-faq.php”;i:2;s:65:”C:\\xampp\\apps\\wordpress\\htdocs/wp-content/themes/nevada/style.css”;i:3;s:64:”C:\\xampp\\apps\\wordpress\\htdocs/wp-content/themes/nevada/home.php”;i:4;s:71:”C:\\xampp\\apps\\wordpress\\htdocs/wp-content/plugins/exec-php/exec-php.php”;}’, ‘no’),
Line 374: (40, ‘recently_edited’, ‘a:5:{i:0;s:71:”C:\\xampp\\apps\\wordpress\\htdocs/wp-content/plugins/include-me/plugin.php”;i:1;s:72:”C:\\xampp\\apps\\wordpress\\htdocs/wp-content/themes/nevada/template-faq.php”;i:2;s:65:”C:\\xampp\\apps\\wordpress\\htdocs/wp-content/themes/nevada/style.css”;i:3;s:64:”C:\\xampp\\apps\\wordpress\\htdocs/wp-content/themes/nevada/home.php”;i:4;s:71:”C:\\xampp\\apps\\wordpress\\htdocs/wp-content/plugins/exec-php/exec-php.php”;}’, ‘no’),
Search “C:\\xampp” (5 hits in 1 file)
I added my domain name and deleted everything except
my domain name/wp-content/themes/nevada/template-
I did this for the five entries. Still no use when I try to update it looks for the c:\ drive
Thread Starter
fitzj
(@fitzj)
Checked .htaccess no pointers to this drive.
Thread Starter
fitzj
(@fitzj)
Tomorrow I will remove a piece of code from the database and upload again and see what happens.
Thread Starter
fitzj
(@fitzj)
Found this line of code in wp.config.php
define(‘WP_TEMP_DIR’, ‘C:/xampp/apps/wordpress/tmp’);
This must be the culprit?
Could someone tell me where I can point this to?
Thread Starter
fitzj
(@fitzj)
Problem fixed I took it out. Working now. Many thanks for the help Abletec
Hi Fitzj!
I have the same problem specific problem, how did you fix it? Please help me! 🙂