Links from sub folders

Issues related to previewing and publishing your web site.
Post Reply
User avatar
Pablo
 
Posts: 23442
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Links from sub folders

Post by Pablo »

You can send the login details to info@pablosoftwaresolutions.com
I will look at it tomorrow.
Markup
 
 
Posts: 38
Joined: Sat Feb 04, 2023 3:55 pm

Re: Links from sub folders

Post by Markup »

Pablo wrote: Thu Feb 23, 2023 6:17 pm You can send the login details to info@pablosoftwaresolutions.com
I will look at it tomorrow.
Sent.
User avatar
Pablo
 
Posts: 23442
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Links from sub folders

Post by Pablo »

Thanks, I will take a look at it tomorrow.
Markup
 
 
Posts: 38
Joined: Sat Feb 04, 2023 3:55 pm

Re: Links from sub folders

Post by Markup »

Pablo wrote: Thu Feb 23, 2023 8:40 pm Thanks, I will take a look at it tomorrow.
One other thing, I forgot to mention. You will need to let me know the IP address (Class C is fine) you will be coming from so I can open the firewall up to you.
User avatar
Pablo
 
Posts: 23442
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Links from sub folders

Post by Pablo »

I did some tests, but I could not reproduce the problem.
Everything seems to work correct for me. All folders are created automatically, as expected.

Maybe you have already fixed it on your side?
If not, then what are the exact steps to make it not work?
Markup
 
 
Posts: 38
Joined: Sat Feb 04, 2023 3:55 pm

Re: Links from sub folders

Post by Markup »

Pablo wrote: Fri Feb 24, 2023 1:24 pm I did some tests, but I could not reproduce the problem.
Everything seems to work correct for me. All folders are created automatically, as expected.

Maybe you have already fixed it on your side?
If not, then what are the exact steps to make it not work?
Well, I do dislike random computer problems. It is still broken for me. I'll bundle up the entire project and local files used. I'll email that link to you.
User avatar
Pablo
 
Posts: 23442
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Links from sub folders

Post by Pablo »

I doubt that this is random. As a developer, I do not believe in 'random'. In my opinion, the same settings always result in the same behavior.

I loaded your project and published it without any modifications. Everything seems to work correct.
Maybe your firewall interferes with the communication?

I assume you are using the latest version of the software (18.1)?
Markup
 
 
Posts: 38
Joined: Sat Feb 04, 2023 3:55 pm

Re: Links from sub folders

Post by Markup »

Pablo wrote: Fri Feb 24, 2023 3:19 pm I doubt that this is random. As a developer, I do not believe in 'random'. In my opinion, the same settings always result in the same behavior.

I loaded your project and published it without any modifications. Everything seems to work correct.
Maybe your firewall interferes with the communication?

I assume you are using the latest version of the software (18.1)?
Your connection went through the same firewall as mine.

Well, I do not know what to tell you. Yes, version 18.1 and it still fails directory creation. I cannot fathom what would be different between your connection and mine. I'll just deal with creating the directories manually. Sorry to have wasted your time and thank you for trying.
User avatar
Pablo
 
Posts: 23442
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Links from sub folders

Post by Pablo »

I was referring to your local firewall where WWB is installed.

Do you see a difference in the SFTP log between your session and my session?
I really did not do anything special, it just worked for me.
Markup
 
 
Posts: 38
Joined: Sat Feb 04, 2023 3:55 pm

Re: Links from sub folders

Post by Markup »

Pablo wrote: Fri Feb 24, 2023 6:14 pm I was referring to your local firewall where WWB is installed.

Do you see a difference in the SFTP log between your session and my session?
I really did not do anything special, it just worked for me.
My local firewall only blocks async inbound connections.

The logs for you and me are very different. Mine show full paths and yours show relative paths. Is there a setting in WWB that would impact that?

Maybe I should just remove everything and start over. Before that I am going to try from another location and see what happens.
Markup
 
 
Posts: 38
Joined: Sat Feb 04, 2023 3:55 pm

Re: Links from sub folders

Post by Markup »

It gets stranger. I am at a different location and still get the same results.

Feb 24 20:28:56 server sftp-server[102559]: mkdir name "usr/local/apache/htdocs/errors/images" mode 0777
Feb 24 20:28:56 server sftp-server[102559]: sent status Failure

For some reason, all my transfers are showing a full path for the mkdir command where yours were only showing relative paths. The full path would work, but the root folder is being stripped which makes it relative which is why it fails.

Now here is what is happening before any files were transferred.

Feb 24 20:28:55 server sftp-server[102559]: mkdir name "usr" mode 0777
Feb 24 20:28:55 server sftp-server[102559]: sent status Failure
Feb 24 20:28:55 server sftp-server[102559]: mkdir name "usr/local" mode 0777
Feb 24 20:28:55 server sftp-server[102559]: sent status Failure
Feb 24 20:28:55 server sftp-server[102559]: mkdir name "usr/local/apache" mode 0777
Feb 24 20:28:55 server sftp-server[102559]: sent status Failure
Feb 24 20:28:55 server sftp-server[102559]: mkdir name "usr/local/apache/htdocs" mode 0777
Feb 24 20:28:55 server sftp-server[102559]: sent status Failure

Why that is being done using a relative path is odd, but even more odd, why is it failing?

There is an inconsistent behavior between the sessions you did and what I did. Your sessions contain only relative paths, for everything, but my sessions all have full paths for everything. I have no idea how or why that would be different. There is no firewall which could know the full path and stick into the data stream. I am really at a loss on this.
User avatar
Pablo
 
Posts: 23442
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Links from sub folders

Post by Pablo »

All I can say is is that it works for me, with the settings you gave me.
I can only 'fix' something if it does not work for me too. It would be a huge risk to change this functionality if it has been working without any issues for years for other users.
Markup
 
 
Posts: 38
Joined: Sat Feb 04, 2023 3:55 pm

Re: Links from sub folders

Post by Markup »

Pablo wrote: Fri Feb 24, 2023 9:24 pm All I can say is is that it works for me, with the settings you gave me.
I can only 'fix' something if it does not work for me too. It would be a huge risk to change this functionality if it has been working without any issues for years for other users.
Oh, I know that. I am not really expecting a fix, per se. I really got curious as to what the heck I could be doing to cause such a problem. I had run out of things to try.
The second computer is actually sitting next to the server. I figure I could not get a cleaner connection than that.

I am going to try and start over. Remove everything and reload the application and start a new page. That is the only thing I have not done yet.

Again, thank you for your time. I wish it had been more fruitful.
Post Reply