The first page of the website looks like Club1.jpg. But it should look like Club2.jpg.
If you activate any other page from the menu and return to this Home page, the page looks like Club2.jpg.
In Wysiwyg Web Builder (V15) the page looks like in picture Club2.jpg. Apparently everything is created that way. However, a test run in Wysiwig does not update the extension counter and is therefore not very meaningful.
As already mentioned, extensions are built into this start page, namely a counter.
A Counter needs PHP to update the counter. Therefore I called the start page index.php and installed the extension there. Since the counter is now counting, the server apparently supports PHP.
I already tried index.html. Then the counter doesn't work and spits ugly error messages.
Does anyone have any idea what needs to be changed to be able to immediately see the page as in Club2.jpg?
Or: is there a way to run the extension counter on index.html?
Last idea: should you move the counter to another page e.g. called xxx.php?
Many thanks for your help!
Link to Club1.jpg & Club2.jpg: https://www.imagenetz.de/filesgroup/903 ... 0365d.html (15 Days)
My PHP problem ==> index.html or index.php?
Forum rules
IMPORTANT NOTE!!
DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.
PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
IMPORTANT NOTE!!
DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.
PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Re: My PHP problem ==> index.html or index.php?
Why do you have both an index.html and an index.php uploaded? There should only be 1 index page. So in this case you need to remove the index.html page from the server.
This is because all your links on the other pages are referencing the index.php in the links.If you activate any other page from the menu and return to this Home page, the page looks like Club2.jpg.
Re: My PHP problem ==> index.html or index.php?
Sorry. I expressed myself unclearly.
Of course I only have one index.php active because the counter then continues to count. An index.html is not included in the project.
But: I tried index.html as a test. Then the counter does not count and shows error messages. But otherwise the page is OK.
I read somewhere: if a PHP counter should work, the trick is index.php. That I did.
And yes: internally, all pages are linked to index.php.
If I use google to search for the page and then use the link found, the page appears as in Club1.jpg, but should look like Club2.jpg.
Of course I only have one index.php active because the counter then continues to count. An index.html is not included in the project.
But: I tried index.html as a test. Then the counter does not count and shows error messages. But otherwise the page is OK.
I read somewhere: if a PHP counter should work, the trick is index.php. That I did.
And yes: internally, all pages are linked to index.php.
If I use google to search for the page and then use the link found, the page appears as in Club1.jpg, but should look like Club2.jpg.
Re: My PHP problem ==> index.html or index.php?
Yes, if the counter needs .php to work properly then your page should end in .php.
As I stated before, when I visit: http://www.fotoclub-singen.de/ it is showing the index.html page. You have both index.php and index.html on your server. You should not have 2 index pages. You need to remove the index.html from the server. If both are present, then the .html file will load first which is why you are seeing it.So in this case you need to remove the index.html page from the server.
- BaconFries
-
- Posts: 5619
- Joined: Thu Aug 16, 2007 7:32 pm
Re: My PHP problem ==> index.html or index.php?
The page name should be as follows http://www.fotoclub-singen.de/index.php and not http://www.fotoclubsingen.de/index.html. Please remove the .html page from the server. Also what version of the program are you using? also note that (free) extensions are not supported and are provided "ASIS"
Re: My PHP problem ==> index.html or index.php?
If you have deleted index.html from your project, that does not automatically delete it from the web server. You need to manually delete that file yourself.
I just tried using the URL http://www.fotoclubsingen.de/index.html and this page loads, so this indicates it has not been deleted from your server.
I just tried using the URL http://www.fotoclubsingen.de/index.html and this page loads, so this indicates it has not been deleted from your server.
Re: My PHP problem ==> index.html or index.php?
I deleted the forgotten index.html on the server - everything works! You all are the greatest - and I'm still learning how to do it with the Internet.
Thank you!
Thank you!