Free personal pages display issue
Solved
Denizay
Posted messages
110
Status
Member
-
jee pee Posted messages 31872 Registration date Status Moderator Last intervention -
jee pee Posted messages 31872 Registration date Status Moderator Last intervention -
Hello,
I recently hosted my site on free.fr, but when I transfer my pages, they don't display correctly online.
That is to say, the .css files don't seem to be taken into account.
The site displays correctly locally but not online. Is that normal? How can I fix this issue?
I recently hosted my site on free.fr, but when I transfer my pages, they don't display correctly online.
That is to say, the .css files don't seem to be taken into account.
The site displays correctly locally but not online. Is that normal? How can I fix this issue?
5 answers
-
Hello,
For example, it's that your file paths are not correct. Or what often happens is that a web server is generally under Linux. With this OS, file paths or names are case-sensitive, whereas this is not the case on Windows.
Index.htm on Linux is different from index.htm
Advice if you are developing on Windows, put everything in lowercase, names of directories and files and make the change in the sources as well.
Best regards
a stranger is a friend you haven't met yet.-
-
-
-
I need you to provide the entire structure of your site.
Because the photo http://lenaphotography.free.fr/photos/photo_de_bebe.jpg does not exist under that name, nor does http://lenaphotography.free.fr/photos/bebe/p_ethan.jpg
P.S.: You shouldn't disable right-clicking; it's annoying and unnecessary because one can still retrieve the source code by going to file/save as. -
For the file photo_de_bebe.jpg it was just an example, but photos/bebe/p_ethan.jpg is indeed a photo in one of the folders.
How can I share the site's structure?
Do you think it's always a path problem or not?
Right-clicking is one way to protect the photos; I haven't found any other method. Do you have any ideas for that? (besides the possibility of watermarking the photos)
-
-
-
this link works: http://lenaphotography.free.fr/photos/a17.png
so it must be the paths
your photos/Bebe has an uppercase letter which is not the same as photos/bebe- Oops, indeed there was a capital letter in /bebe that I just corrected now. But that doesn't explain why the photos are not displaying since the other subfolders were also in lowercase and they are not displaying either.
The link is still available, I invite you to take a look.
Also, even typing http://lenaphotography.free.fr/photos/bebe/p_ethan_1.jpg for example, the page does not display. Yet, in the /photos folder and the /bebe subfolder, there is a photo named p_ethan_1.jpg.
-
-
An example of my tree by clicking on photos/animals
[http://static.ccm2.net/www.commentcamarche.net/pictures/r06AeKejzrp4IYHmoz1HPHnr3JJJfs7CEE8p4T4HP0SMWizcDwFqFusg09EAxiW3-arbo3.png [image:http://static.ccm2.net/www.commentcamarche.net/pictures/r06AeKejzrp4IYHmoz1HPHnr3JJJfs7CEE8p4T4HP0SMWizcDwFqFusg09EAxiW3-arbo3-s-.png|572px||center]|fancy] -
For contact, you insert PHP code into an HTML source.
The PHP code cannot execute. The source needs to have a .php extension (like contact.php)
But it's not that simple; HTML and PHP are two different "web development languages"
Mr. Jourdain was doing prose without knowing it; doing PHP without knowing it is not that simple ;-)
An outsider is a friend you haven't met yet.-
I posted my question here if you want to see:
https://forums.commentcamarche.net/forum/affich-34399994-formulaire-qui-ne-fonctionne-pas-avec-php#p34405389
According to the responses, there seems to be an error in my code.
1) The captcha is displayed but does not function, meaning a person can enter their data and submit without going through the captcha, and then the email indicates that it has been sent.
2) The email indicates that it has been sent, but in reality, I do not receive it...
These are my two issues with this form.
-
-