For some reason this keeps getting put into another thread. Apologies for that…
I have added some code before the HTML on a page in order to run a login script (ALS). I added an extra directory level within the script to reflect the location of the login system on my server (inside a folder called alsv3). It didn’t work so, surmising that the login items needed to be loose, I emptied the contents of the alsv3 folder into my public_html folder and removed the alsv3/ from the code in the HTML Markup dialogue. The system then worked up to the point of opening the page I want to login to. I come up against a load of php warning code. Within that is a reference to alsv3 which I have removed but it still keeps appearing in this php warning. In fact I then cleared out all the Markup code in an attempt to get back to square one but the code keeps appearing. At latest I have relinked and republished the pages and made sure that only the basic script code is in the Markup dialogue but no joy.
Is it normally difficult to erase HTML Markup code? Any idea why this code keeps appearing? Is it perhaps something to do with cacheing on the server? Problem with the script?
Also the warning code is copied below. alsv3 should not be there…
Warning: include(alsv3/alssystem/functions.php) [function.include]: failed to open stream: No such file or directory in /home/fieldop/public_html/linktest.php on line 10
Warning: include(alsv3/alssystem/functions.php) [function.include]: failed to open stream: No such file or directory in /home/fieldop/public_html/linktest.php on line 10
Warning: include() [function.include]: Failed opening ‘alsv3/alssystem/functions.php’ for inclusion (include_path=‘.:/usr/local/lib/php’) in /home/fieldop/public_html/linktest.php on line 10
It was occurring after going through the login system but with
Walter’s advice I have made some alterations and successfully logged
in without the error (which is nice…)
If you want to try it now and report if there are any errors please
feel free
You aren’t per chance editing the markup items on a Master Page and then experiencing the problems on child page, are you? If so, Markups have a habit of not being as ‘connected’ as one might hope between Masters and Slaves.
Additionally, don’t forget about the Page>Markup menu item. There should be a check mark next to the menu item if there is any markup in the dialog. Also, in the ‘location’ drop down, inside the dialog box, any spots that have markup are usually underlined.
Master Pages, again, have a habit of reapplying markup to the Page.
A scan of the generated html pages on your local machine may yield some valuable information about the location and reason why you are seeing the php warnings. At the very least, it will help you figure out where the php is being inserted and, hopefully, help point to the method of insertion.
Cheers Weaver, your advice much appreciated. I’ll bolt it to Walter’s
remarks for future reference.
Pete
On 3 Dec 2007, at 15:20, Weaver wrote:
You aren’t per chance editing the markup items on a Master Page and
then experiencing the problems on child page, are you? If so,
Markups have a habit of not being as ‘connected’ as one might hope
between Masters and Slaves.
Additionally, don’t forget about the Page>Markup menu item. There
should be a check mark next to the menu item if there is any markup
in the dialog. Also, in the ‘location’ drop down, inside the
dialog box, any spots that have markup are usually underlined.
Master Pages, again, have a habit of reapplying markup to the Page.
A scan of the generated html pages on your local machine may yield
some valuable information about the location and reason why you are
seeing the php warnings. At the very least, it will help you
figure out where the php is being inserted and, hopefully, help
point to the method of insertion.