Link to local file on pc
Auteur : Svend O. P.
Visité 1557,
Followers 1,
Partagé 0
I have websitex5 compact 9 received from komputer for alle.
Then I decided to buy the websitex5 evolution 11, but when
I try to link to a local file only the filename is shown, not the path
to the file and therefore it is not working.
As you can see in the attatched screenshots it is corret in
the websitex5 compact 9, so I suppose there must be a fault in
evolution 11.
regards Svend
Posté le
Hello Svend,
Can you post a second screenshot showing what you see when you try to link to a local file in Evolution 11?
Many thanks!
Paul
Auteur
I have already posted a screenshot, and when i try to open the link nothing happens
because the file cannot be found because the path is missing.
regards
Svend
Is the E a removable drive? If so you will have to connect the drive or copy the file to your computer.
Hello Svend,
No, it would be helpful to see a screenshot of what you see in Evolution 11... the one you posted shows version 9, which is the version which works for you anyway.
I've just performed a full test on a new, blank project in version 11... the program allowed me to browse to the removable drive through the 'Local File on PC' dialogue box... when I selected a file from the removable drive it displayed the file of my choice in the 'Local File on PC' field without showing the path.
I was able to open the file no problem on clicking the link. The fact that the path is not shown does not appear to be an issue. Remember that newer versions of WebSite X5 integrate copies of linked files into the project itself.
What is the file extension of the file you are trying to link to, Svend?
And are you able to browse to the file within WebSite X5? Screenshots of what you see when you try to browse to the file would be helpful.
Kind regards,
Paul
Auteur
The screenshot i attatched includes a picture of both versions, the file extension is php, an it is not a removable drive. but a harddisk on my PC.
regards
Svend
Hi Svend,
Yes, you are quite right that the screenshot shows both versions, and my sincere apologies for not noticing that first time around.
I think the issue may be to do with the difference in how version 9 and version 11 handle linked files.
In version 9 the linked file was remote from the project, but version 11 integrates the file into the project itself.
And I am not sure how the new design affects how WebSite X5 handles linked PHP scripts.
I don't think the fact that the full path is not shown is the real issue, as files with other extensions (e.g. .txt) open successfully.
We will ask Incomedia for their comments. Please watch this thread for an official response from them in due course.
Thanks for your patience in the meantime!
Hello Sven,
In version 1o you see only the filename but this is only from the appareance different. The function is the same. If you use the rightclick on the filenme you will find the options to open the path because the program keeps this information which is only not visible to you.
About the file which is not working can you please write me the link to the website?
If it is not working locally this can depend on the fact php files needs to be processed.
Is it giving an error when you try to open it?
Many thanks!
Auteur
Well, it seems to work on the webserver but I was just wondering why I am not
able to get it to open when i use the preview function as in version 9, but I have
noticed that.
regards
Svend
Hello Svend,
PHP by its very nature must be processed by the server on which it is installed. PHP stands for PHP: Hypertext Preprocessor... it processes/alters the HTML which is sent to the user by return.
I originally thought you might have had an instance of PHP running locally as you seemed to imply that you had managed to open linked PHP files in version 9. But if you do not have such an installation then the PHP scripts will not open or run locally as there is nothing to run them.
That is all working as would be expected. If you would like to work with PHP files in the preview then you could consider adding PHP along with Apache to your computer configuration, in what is known as a WAMP server.
If you do a Google search you will find lots of information on the subject.
Kind regards,
Paul
Auteur
I am already running XAMPP server on my PC, so I am wondering why preview is working on version 9 ?? and not on version 11.
Regards
Svend
I don't know, Svend, but perhaps Claudio will have an idea as to possible causes.
Best regards,
Paul
Hello Svend,
IT is not working since the file is not opened in your XAMPP installation but in the webserver used for the preview. The only way to make it work is to export the project files on your hard disk and then move these in your XAMPP local folder and open these from there.
Many thanks!