[Problem] Media Path Failure
This support request was posted in BBQ by promobike
- promobike March 8, 2013 at 9:01 pm
Hey guys!
I`ve got a problem concerning the BBQ theme. After transfering my WordPress-page on the server from one folder to the other, all images and links suddendly didn`t work anymore.
I looked it up in Google and it said that I had to change something in my database. So I changed the mentioned paths (site url & home) and I got the links working.
But there are some problems left with the pictures. They aren`t shown on the homepage, furthermore it`s not possible to upload any. [I got following error after trying to upload them: “The uploaded file could not be moved to E:Inetpubvhostsampass.atpromobike/wp-content/uploads.”]
Could someone please help me solving the problem? I would really appreciate it, `cause it`s very urgent.
Cheers,
JohannesJuanfra Aldasoro March 8, 2013 at 9:08 pmHello Johannes,
Thanks for writing 🙂
I would recommend you to backup your db and try the following SQL:
UPDATE wp_options SET option_value = replace(option_value, 'http://www.old-domain.com', 'http://www.new-domain.com') WHERE option_name = 'home' OR option_name = 'siteurl'; UPDATE wp_posts SET guid = replace(guid, 'http://www.old-domain.com','http://www.new-domain.com'); UPDATE wp_posts SET post_content = replace(post_content, 'http://www.old-domain.com', 'http://www.new-domain.com');
Please, replace the domains with yours.
Best,
Juan.promobike March 9, 2013 at 12:20 amHello Juan,
I edited my database and although die request was successful, the images didn`t appear.
While checking my page with Firebug I noticed that the image sources are (in my opinion) not generated correctly. Look here: “http://promobike.at/wp-content/themes/bbq/engine/timthumb.php?src=http://promobike.at/wp-content/uploads/picture.png&w=730&h=&q=90&a=c”
In addition to this, uploading is still not possible.
Thanks!
promobike March 9, 2013 at 12:29 amOK! Never mind 🙂 Problem solved! It had something to do with my server permissions.
But thanks a lot for your kind and quick support!Greets!
promobike March 10, 2013 at 4:26 pmOkay Juan..
In addition to my former problem there is another one now.
The contact form doesn`t work – should mean if I click the “send message” button, the current page just reloads. I don`t receive the message..
Thanks for your help!Juanfra Aldasoro March 10, 2013 at 11:24 pmHello there,
Thanks for writing. Do you know if your server has SMTP?
To have the contact form working you need the following:
A) Settings SMTP and smtp_port need to be set in your php.ini
B) Also, either set the sendmail_from setting in php.ini, or pass it as an additional header.These are server configuration issues, so maybe you can check this by contacting your hosting support.
Thank you,
Juan.
This topic is marked as resolved
Only the topic author can re-open this thread.