Page 1 of 1

Problem uploading affix.min.js

Posted: Mon Apr 26, 2021 6:30 pm
by rivieremagog
Hello Everyone, Here comes papy with his odd problem,

I update a website once or twice a yesr, but this time, with the same computer same configuration and almost the same website (modification of name and adding a new link and picture ti the website I constantlé have this error

*** START OF PUBLISH ***
Scanning publish folder...
Found 28 file(s).
Initializing FTP connection...
Checking host...
Host was successfully parsed.
Connecting to www130.votresite.ca...
Using PORT mode.
Succesfully connected.
Current directory is '/'
Setting remote folder to httpdocs...
Status: 550 images: File exists
Uploading 'affix.min.js'...
Internet Exception Error 12002

Thinking it was one of my modification I tried to upload a page that is already on the web (no modification) and I also get that error trying to update ....
What has gone wrong since last december ???
Thanks for anyone who will guide me in the right direction WYSIWYG was easy when i started using it in 2011 but now these new version are getting me a bit wacko :lol:
THANKS AGAIN :wink:

Re: Problem uploading affix.min.js

Posted: Mon Apr 26, 2021 6:45 pm
by BaconFries
In general a "Internet Exception Error 12002" indicates a publish timeout so the connection gets lost. Try increasing the timeout if that falls try with winsock as the FTP engine rather than Wininet if used previously.

Re: Problem uploading affix.min.js

Posted: Mon Apr 26, 2021 7:53 pm
by rivieremagog
Wow that was fast answer
unfortunately 60 sec didn't solved my problem
*** START OF PUBLISH ***
Scanning publish folder...
Found 28 file(s).
Initializing FTP connection...
Checking host...
Host was successfully parsed.
Connecting to www130.votresite.ca...
Using PORT mode.
Succesfully connected.
Current directory is '/'
Setting remote folder to httpdocs...
Status: 550 images: File exists
Uploading 'affix.min.js'...
Internet Exception Error 12002

Details:
Le délai imparti à l'opération est dépassé
Closing FTP connection...
Removing temporary files...
Publish failed!
*** END OF PUBLISH ***


As for winsock still at 60 i get a longer log but it also failed :'( Does it matter that I do not have the latest version of WYSIWYG mine is 14 ?
*** START OF PUBLISH ***
Scanning publish folder...
Found 28 file(s).
Status: Initializing FTP connection...
Status: Checking host...
Status: Host was successfully parsed.
Status: Connecting to www130.votresite.ca...
Status: Using PORT mode.
Response: 220 ProFTPD Server (ProFTPD) [192.34.93.154]
Command: USER associa1
Response: 331 Password required for associa1
Command: PASS *****
Response: 230 User associa1 logged in
Command: SYST
Response: 215 UNIX Type: L8
Command: SITE HELP
Response: 214-The following SITE commands are recognized (* =>'s unimplemented)
Response: QUOTA
Response: The following SITE extensions are recognized:
Response: RATIO -- show all ratios in effect
Response: HELP
Response: CHGRP
Response: CHMOD
Response: 214 Direct comments to root@192.168.170.24
Status: Succesfully connected.
Command: PWD
Response: 257 "/" is the current directory
Status: Current directory is '/'
Status: Setting remote folder to httpdocs...
Command: CWD httpdocs
Response: 250 CWD command successful
Command: MKD images
Response: 550 images: File exists
Status: Succesfully created folder 'images'...
Status: Uploading 'affix.min.js'...
Command: TYPE I
Response: 200 Type set to I
Command: PORT 10,0,0,240,16,22
Response: 200 PORT command successful
Command: STOR affix.min.js
Command: TYPE I
Command: PORT 10,0,0,240,16,114
Response: 425 Unable to build data connection: Connection timed out
Command: TYPE I
Response: 200 Type set to I
Command: PORT 10,0,0,240,16,121
Response: 200 PORT command successful
Command: STOR affix.min.js
Response: 200 Type set to I
Error: 200 Type set to I
Status: Closing FTP connection...
Command: QUIT
Response: 200 PORT command successful
Removing temporary files...
Publish failed!
*** END OF PUBLISH ***

Re: Problem uploading affix.min.js

Posted: Tue Apr 27, 2021 6:03 am
by Pablo
It looks like you are using PORT mode.
This usually gives problems with firewalls.
I suggest to enable "passive mode". Note this is enabled by default so you may have accidentally unchecked it.

Re: Problem uploading affix.min.js

Posted: Tue Apr 27, 2021 2:51 pm
by rivieremagog
Thanks Pablo, but passive mode didn't solved the problem either... Reading your post , I even deactivated the Defender FireWall and still get the same result :(
*** START OF PUBLISH ***
Scanning publish folder...
Found 28 file(s).
Initializing FTP connection...
Checking host...
Host was successfully parsed.
Connecting to www130.votresite.ca...
Using PASV mode.
Succesfully connected.
Current directory is '/'
Setting remote folder to httpdocs...
Status: 550 images: File exists
Uploading 'affix.min.js'...
Internet Exception Error 12002
Details:
Le délai imparti à l'opération est dépassé
Closing FTP connection...
Removing temporary files...
Publish failed!
*** END OF PUBLISH ***

Re: Problem uploading affix.min.js

Posted: Tue Apr 27, 2021 3:00 pm
by Pablo
Are you sure your FTP configuration is correct?
Maybe your webhost has changed something? For example, many web hosts have switched to Secure FTP.
Did you also try 'winsock'?

Re: Problem uploading affix.min.js

Posted: Tue Apr 27, 2021 3:42 pm
by rivieremagog
To tell you the truth last time i updated my website was in december, so I do not really know other than what is described in this thread....
I have tried updating my web page by saving it locally and uploading modified page with filezilla using the WYSIWYG parameter ant it seems to pass, but the new images uploaded with this option do not appear on the page :shock:
https://associationrivieremagog.org/Eco-Riverains.html

Re: Problem uploading affix.min.js

Posted: Tue Apr 27, 2021 3:50 pm
by Pablo
FileZilla uses Secure FTP. WWB also support this. But based on the publish log you did not enable it.

Did you upload all files?

Also, it looks like some of your have invalid filenames.
See this related FAQ:
viewtopic.php?f=10&t=131

Re: Problem uploading affix.min.js

Posted: Tue Apr 27, 2021 4:33 pm
by rivieremagog
For the filename since I had this problem on modified pages I tried réuploading a page that I alresdy sent in december and it still freeze trying this affix.min.js file
The publish dialog box of the WYSIWYG is set on publish all files... So I guess it dit or at least it tried, but for my trial with filezila i only sent the html file since I do not really know what other file are associated with this uploaded page

As for the sccure FTP I do not recall seeing this option in the publishing parameters :roll: How can I enable it

Re: Problem uploading affix.min.js

Posted: Tue Apr 27, 2021 4:51 pm
by BaconFries
As for the sccure FTP I do not recall seeing this option in the publishing parameters :roll: How can I enable it
What version of the software are you using? In WB 16 you will find the settings here

Image

Re: Problem uploading affix.min.js

Posted: Tue Apr 27, 2021 5:52 pm
by rivieremagog
This is what I taught, I am in version 14 and I do not have this option :|

FTP (Standard File Transfer Protocol, or LOCAL nothing else

Re: Problem uploading affix.min.js

Posted: Tue Apr 27, 2021 6:00 pm
by BaconFries
Then the following may be of interest Secure FTP (PAID) Also please note WB14 is no longer supported. Or may I suggest that you upgrade to WB 16 to get this included along with hundreds of "New" features and continued support.

Re: Problem uploading affix.min.js

Posted: Tue Apr 27, 2021 7:35 pm
by rivieremagog
Thanks, for the offer, but like mentionned, apart from this FTP thing, since I do not really use this software other than to update the ONE and Only website,i have I do not really have the knowledge to fully understand these new features and even less to implement them....
So thanks again for all the help you guys provided me since my first buy in 2010. I really appreciate...
I guess now at the age of 70 it is time for me to close the shop and find a younger volunteer to do this update task...
Thanks Again to you and Pablo for all the help

Re: Problem uploading affix.min.js

Posted: Tue Apr 27, 2021 7:57 pm
by BaconFries
Your welcome and 70 isn't all that old remember you're only as old as you feel...

Re: Problem uploading affix.min.js

Posted: Tue Apr 27, 2021 9:28 pm
by MGD4me
@rivieremagog ...

If you are looking for a free FTP client, I would suggest WinSCP at https://winscp.net/eng/download.php

I use it daily. It has two 'panes'... one for files on your PC, the second would be your website. Just drag-n-drop files at will.

Re: Problem uploading affix.min.js

Posted: Wed Apr 28, 2021 2:58 am
by rivieremagog
Thanks MGD4me for the tip, I suppose you save your web site from WYSIWYG on local first and then use this FTP client ?

Re: Problem uploading affix.min.js

Posted: Wed Apr 28, 2021 8:25 am
by alan_sh
I do the same but I use FileZilla (also free). Works fine.

Alan

Re: Problem uploading affix.min.js

Posted: Wed Apr 28, 2021 12:28 pm
by rivieremagog
:roll: :roll: Now with all these test and trial, when I save my website on a local folder, my navigator open the index.php as if it was a loong progrmmation page
WHAT have I made wrong ?????
Why is it like that now and not graphics like before ?????


<!doctype html><html><head><meta charset="utf-8"><title>A.R.M.I</title><meta name="generator" content="WYSIWYG Web Builder 14 - http://www.wysiwygwebbuilder.com"><meta name="viewport" content="width=device-width, initial-scale=1.0"><style>html, body, #container{ width: 100%; height: 100%;}body{ background-color: #FFFFFF; color: #000000; font-family: Arial; font-weight: normal; font-size: 13px; line-height: 1.1875; margin: 0; padding: 0;}</style><link href="font-awesome.min.css" rel="stylesheet"><style>@-webkit-keyframes animate-fade-in-up{ 0% { -webkit-transform: translate(0px,100px) rotate(0deg) ; opacity: 0; } 100% { -webkit-transform: translate(0px,0px) rotate(0deg) ; opacity: 1; }}@-moz-keyframes animate-fade-in-up{ 0% { -moz-transform: translate(0px,100px) rotate(0deg) ; opacity: 0; } 100% { -moz-transform: translate(0px,0px) rotate(0deg) ; opacity: 1; }}

Re: Problem uploading affix.min.js

Posted: Wed Apr 28, 2021 12:32 pm
by alan_sh
PHP needs a server which supports it. You can't open PHP from a local PC normally.

Alan

Re: Problem uploading affix.min.js

Posted: Wed Apr 28, 2021 12:54 pm
by rivieremagog
If I can not see it before uploadingit to the server, How can I tell everything is ok to upload with the program you proposed ?

Re: Problem uploading affix.min.js

Posted: Wed Apr 28, 2021 2:06 pm
by Pablo
PHP cannot be previewed. The PHP code needs to be processed by the server.
This is not specific to this software, this applies to all web design software.

Re: Problem uploading affix.min.js

Posted: Wed Apr 28, 2021 2:20 pm
by BaconFries
As mentioned by Alan if a page uses PHP such as a form then it cannot be viewed / ran locally. This is because PHP requires to be processed / run server sided for it to work. If you try to view locally then you will see the php code at the top of the page.
Now for this not to show when you view locally then you can do the following.
Go to Tools-->Publish-->Preview-->>Preview scope: Entire Web Site tick the checkbox Remove PHP code during preview. What this will allow is for you to see how it looks locally the only thing is that you cannot test the form for the already mentioned above forms or anything that use PHP for it to work need to be processed on the server.

There are ways to test locally by installing a local server such as xampp but that is maybe out of what understand how to use.

Re: Problem uploading affix.min.js

Posted: Wed Apr 28, 2021 2:27 pm
by bkjohns
I get around the php not working locally by publishing my sites to a test folder on my server, where php will be processed so everything is testable prior to going 'live' with the site. Just pick a name for the folder that most folks won't guess and only you can access it. I have a saved publishing option for the testing folder in WWB to simplify the process.