Hello, i've been building a site for several months now. Finally prepared to take it live and Publish. I just went through the Publish settings, the status bar churns for a bit, then comes up with a:
"Failed to create remote directory 'apple-touch-icon.png'" note
I'm assuming this is an image? In any case, it's nothing I need, or have uploaded to my project. After clicking 'OK' it says that the publish has failed. Please help! I'm not sure what to do, and this site needs to be live for a client.
I am using RapidWeaver 4.3.1
MacOS 10.5.8
thanks!
andy.
Comments
But i don't think those have anything to do with the publish error I'm getting. Any help is greatly appreciated. This site needs to be published.
Go to republish and now i get "Failed to create remote directory 'files/blank.gif'"
Attached is a screen shot of the FTP site, and you can see the Path i'm using to publish: HTTPDOCS is in tact there. Also you can see the 'files' file is also there, i created and placed it there. Do you think this is a web host issue?
Why would this publish error be happening, as if RW is unable to create the file it needs to on the server?
me to I am about to upload my site and get the message 'Failed to create remote directory 'apple-touch-icon.png''. You told you changed something in 'settings'. I have tried to find 'settings', but did not find it. Can you please specify which and where to find?
thanks!
The Publishing Settings is the thing. It's nearly always a bad Site Path for one reason or another.
If the details have worked before, then it's your keychain messin' about. Use Keychain Access to delete the entry while RapidWeaver"s not running and then re-enter the details in RapidWeaver.
with best regards,
Karn.
More @ WebKarnage hosted on RapidWeaver friendly Hosting.
MacSupportCasts to learn Macs
thanks foor your quick reply. But... I am quite new to Rapidweaver and creating/publishing websites... so I do not understand everything you explained.
I did find the 'Publishing Settings' there I wrote:
- server: ftp.chaletlafolie.eu
-username: ok
- password: ok
- Path: public_html --> I found this on the internet, but maybe I have to fill in a different path???
enabled 'save password in keychain'
In advanced Settings, the only thing I enabled is at FTPSettings 'Use passive mode'
But my questions now are:
- what do you mean with details? The working of the pages in Preview?
- where can I find Keychain Acces?
- what do I have to change and how when Rapisweaver is not active?
Hope you can help me!
Thanks,
Marie-Louise
By Details I was referring to what you put in the Publishing Settings.
Where did you find the site path? They can be different for different hosting companies. That's quite a popular one.
Keychain Access is an app on your Mac. It is designed to allow you to look at and administer your keychain file (where your Mac stores passwords and logins).
Press Command-Space to open Spotlight in the top-right of your screen. Start typing Keychain Access and it will be highlighted after a few letters, then hit return to enter. I love Macs!
That will show you all the logins saved by Safari, RapidWeaver, and other programs. If you delete the record from your Mac's keychain file, the RapidWeaver might replace it with the duff details when closing, which is why you should do that part with RapidWeaver closed.
with best regards,
Karn.
More @ WebKarnage hosted on RapidWeaver friendly Hosting.
MacSupportCasts to learn Macs
Vasily
The High-Tech Coach
Would be nice if the publish function works next time. If you tried folder httpdocs, try /httpdocs next time?
Indigo Webstudio
Just Host
Hi Marie-Louise,
I checked the website of your hosting company but didn't find any info about folder, control panel or any other info that could have pointed us in the right direction. So, you have 2 options:
- ask your host to send the hosting account details again;
- use a FTP program and try to logon to the server and check the directory structure
(if you are convinced the ftp server and login/password are ok I'm willing to FTP for you and reply the folder solution, send me a pm if you want)
Indigo Webstudio
Just Host
first of all thank you all for your advise. I contacted my hosting company and they said I did not need to fill in the pathfield.
I downloaded Filezilla to be able to manage my site structure on the server. Apart from some copy/paste in subdirectories, it worked.
In fact, the site is online now! Finally! If you want to give me some feedback about the appearence you are more than welcome. As I said before, I am new at this.
But I have a question because my 'Contact&Information;'form does not work properly. On every textfield I get: <?php echo check('element0'); ?>. I looked for it on the net and i found that i had to write a prefix in the page inspector of that particular form. The form has in page inspector the .php extension. I wrote in the prefix <?php session_start();?>, found that on the net.... But nothing changes..... what did I do wrong now? Rapidweaver version 4.3.1.
Hope to hear from you,
Marie-Louise
Is the contact page standard contact form or did you use the import function of Pluskit? More info about the prefix for contact form and Pluskit you find here.
You need to be sure your host supports PHP script on the server.
Hope this helps.
Indigo Webstudio
Just Host
Hi Marie-Louise,
Are you are using the RW contact form and using pluskit to import it into another page? If so, you are using the wrong php prefix for your version of RW (4.3.1).
You should put the code shown below in page inspector]header]prefix of the page that you are importing into (i.e not the contact form page itself). This is detailed towards the bottom of this page on the Loghound site.
Nice site by the way!
Best,
Pete
<?php //start session session_start(); //set a key, checked in mailer, prevents against //spammers trying to hijack the mailer. $security_token = $_SESSION['security_token'] = uniqid(rand()); if(!isset($_SESSION['formMessage'])) $_SESSION['formMessage'] = 'Fill in the form below to send me an email.'; if(!isset($_SESSION['formFooter'])) $_SESSION['formFooter'] = ''; if(!isset($_SESSION['form'])) $_SESSION['form'] = array(); function check($field, $type = "", $value = "") { $string = ""; if(isset($_SESSION['form'][$field])) { switch($type) { case "checkbox": $string = 'checked="checked"'; break; case "radio": if($_SESSION['form'][$field] == $value) $string = 'checked="checked"'; break; case "select": if($_SESSION['form'][$field] == $value) $string = 'selected="selected"'; break; default: $string = unescape_string($_SESSION['form'][$field]); } } return $string; } function unescape_string($string) { return stripslashes(@ html_entity_decode($string, ENT_QUOTES)); } ?>Alternatively... put your feet up and play with this...
I agree with you it sounds like a missing file problem, so I 'started again with cleaner file structure etc' When I tried to publish the tidier version (in terms or source folders) I STILL got the same message, oddly enough I then noticed I had a space in my FTP address, I corrected this and it uploaded first time.
Confusing error message then, Regards