View Full Version : Login Page disply problems
lazystudent
11-May-2010, 10:30 AM
I am viewing the design of the login page and it is crystal clear, all images etc are in the right place, same goes for the checkout page.
Yet as soon as i upload it, no images so, and it loses its layout and wont work, can anyone explain why this is.
I am using an evalutated version and uploading onto a standalone web server from my computer
peblaco
11-May-2010, 10:42 AM
The most usual problems are images referenced incorrectly or a missing basehref tag (not copying in the standard Actinic template header area code). Can you paste the url address of the site so the issue can be seen?
lazystudent
11-May-2010, 10:44 AM
I wish i could, unfortunately i don't have a hosting company set up at the moment so just using a stand alone server to make sure stuff works
peblaco
11-May-2010, 10:51 AM
I wish i could, unfortunately i don't have a hosting company set up at the moment so just using a stand alone server to make sure stuff works
Firstly check the two common issues I referenced above, which are detailed here:
Images for the design template should be in Site1 and referenced locally as image.jpg, also see:
http://community.actinic.com/showthread.php?t=44941
or
http://community.actinic.com/showthread.php?t=45378
Basehref: http://community.actinic.com/showthread.php?t=44916
lazystudent
11-May-2010, 10:51 AM
This is the error IE8 comes up with,
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; MDDR; .NET CLR 1.1.4322; InfoPath.1)
Timestamp: Tue, 11 May 2010 11:21:17 UTC
Message: Object expected
Line: 23
Char: 1
Code: 0
URI: http://localhost/cgi-bin/ss000001.pl?ACTION=LOGIN
Message: Object expected
Line: 27
Char: 1
Code: 0
URI: http://localhost/cgi-bin/ss000001.pl?ACTION=LOGIN
Message: Object expected
Line: 41
Char: 1
Code: 0
URI: http://localhost/cgi-bin/ss000001.pl?ACTION=LOGIN
Message: Object expected
Line: 45
Char: 1
Code: 0
URI: http://localhost/cgi-bin/ss000001.pl?ACTION=LOGIN
Message: Object expected
Line: 21
Char: 1
Code: 0
URI: http://localhost/cgi-bin/ss000001.pl?ACTION=LOGIN
lazystudent
11-May-2010, 11:00 AM
Have done all the stuff you mentioned, Images are all working and paths are in the right place,
It sounds exactly like a BASEREF error, but both designs have BaseHref under page title
Mike Hughes
11-May-2010, 11:29 AM
Don't Actinic do trial hosting to go along with the evaluation?
It's hard for anyone to debug the problems you've got with having access to the site to see what's going wrong.
Your first step should really be to get some hosting. The problem could easily be with your locally hosted setup.
Mike
lazystudent
11-May-2010, 11:52 AM
http://trials.actinic.com/trials/trial62144/index.html
I set up the trial hosting, now the site loads perfectly, but click on LOGIN or view cart etc and it just crashes
peblaco
11-May-2010, 12:25 PM
http://trials.actinic.com/trials/trial62144/index.html
I set up the trial hosting, now the site loads perfectly, but click on LOGIN or view cart etc and it just crashes
You don't have the basehref as indicated in my replies above. See:
http://community.actinic.com/showthread.php?t=44916
Edit: In fact you are missing the bulk of the Actinic template header code for the basehref and javascripts, best to copy this in from one of the default templates.
Mike Hughes
11-May-2010, 12:33 PM
It looks as if there's no basehref under any of the script generated pages and thus it's losing all the css formatting and images. i.e.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>The Art Store Online</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta http-equiv="MSThemeCompatible" content="yes" />
<link href="actinic.css" rel="stylesheet" type="text/css"><style type="text/css">
Mike
Edit:
1. Ah. I see louise posted already.
2. True. No sign of the basehref anywhere.
lazystudent
11-May-2010, 12:58 PM
I need some help then, i am in design view and i am selecting "Login" from the "Select Page Type" and seeing the login page and it has the BaseHref already there, so how to i access the actual one that doesn't have it there
peblaco
11-May-2010, 01:05 PM
I need some help then, i am in design view and i am selecting "Login" from the "Select Page Type" and seeing the login page and it has the BaseHref already there, so how to i access the actual one that doesn't have it there
The basehref isn't in the brochure pages either, so best to check which overall layout you have set at Settings menu > Site Options > Layout > under "Site" and also under "Brochure". Then go to Design menu > Library > Web Page Outer > expand this and double click to open the relevant layouts, check that they contain the default Actinic header code which you can get from one of the other layouts in the "Web Page Outer" group such as "Works Best with Best Seller" between the <head> and </head> tags.
lazystudent
11-May-2010, 01:12 PM
Thats been done, i set all pages for "outer layout silver theme" which was what i was using then copied the code between <head></head> from "Works best with best seller" and pasted it on "outer layout for silver theme" but still there are coding errors.
I really want to thank you for helping, im sure its something stupid i've done
peblaco
11-May-2010, 01:15 PM
Thats been done, i set all pages for "outer layout silver theme" which was what i was using then copied the code between <head></head> from "Works best with best seller" and pasted it on "outer layout for silver theme" but still there are coding errors.
I really want to thank you for helping, im sure its something stupid i've done
If you upload what you've done so we can see where it's got to.
What are the coding errors?. When you click the coding errors it should say a message, also when you click on the message it should take you to the code.
lazystudent
11-May-2010, 01:21 PM
It has been uploaded, if i do an error check on actinic, i just get -
A javaScript error has been found on the page ('Object Expected')
A javaScript error has been found on the page ('Object Expected')
A javaScript error has been found on the page ('Object Expected')
When i click on them nothing happens
When i load the home page in IE 8 i get these errors, and these happen on every page
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; MDDR; .NET CLR 1.1.4322; InfoPath.1)
Timestamp: Tue, 11 May 2010 13:56:32 UTC
Message: Object expected
Line: 31
Char: 1
Code: 0
URI: http://trials.actinic.com/trials/trial62144/index.html
Message: Object expected
Line: 35
Char: 1
Code: 0
URI: http://trials.actinic.com/trials/trial62144/index.html
Message: Object expected
Line: 29
Char: 1
Code: 0
URI: http://trials.actinic.com/trials/trial62144/index.html
peblaco
11-May-2010, 01:26 PM
It has been uploaded, if i do an error check on actinic, i just get -
A javaScript error has been found on the page ('Object Expected')
A javaScript error has been found on the page ('Object Expected')
A javaScript error has been found on the page ('Object Expected')
When i click on them nothing happens
When i load the home page in IE 8 i get these errors, and these happen on every page
Have you uploaded to the Actinic trial area? It is the same as before. I am wondering if you have correctly applied that code from the header of the "Works Best with.." template to yours as the basehref and Actinic Javascripts are still missing, this is why your Actinic preview and the trial site give Javascript errors.
lazystudent
11-May-2010, 01:32 PM
http://img41.imageshack.us/i/theme2h.jpg
http://img571.imageshack.us/i/siteoptions2.jpg
http://img339.imageshack.us/i/themep.jpg
http://img641.imageshack.us/i/siteoptions1.jpg
http://img63.imageshack.us/i/networksettings.jpg
Everything points to the code being there
peblaco
11-May-2010, 01:39 PM
http://img41.imageshack.us/i/theme2h.jpg/
http://img571.imageshack.us/i/siteoptions2.jpg/
http://img339.imageshack.us/i/themep.jpg/
http://img641.imageshack.us/i/siteoptions1.jpg/
http://img63.imageshack.us/i/networksettings.jpg/
Everything points to the code being there
Your images weren't showing here using [ img ] tags since the files end in a / but I located them from the code above. Check the "Layouts" tab of the individual pages as well. Then try a Web menu > Refresh to force a refresh all pages to the server.
lazystudent
11-May-2010, 01:48 PM
All using the "Outer Layout for Silver Theme", but i changed the theme and 3 errors still occur -
</style></head><body onload="PreloadImages('button_back_highlight.gif','button_checkout_highlight.gif','button_contact_highlight.gif','button_entershop_highlight.gif','button_home_highlight.gif','button_login_highlight.gif','button_search_highlight.gif','button_sitemap_highlight.gif','button_storetop_highlight.gif','button_terms_highlight.gif','button_up_highlight.gif','button_viewcart_highlight.gif');"><div id="minimal-container"><div id="minimal-header-area"><div id="minimal-logo-area"><img src="theme_corporate_logo.gif" width="764" height="149" alt="Online Catalogue" class="logoimage" /></div></div><div id="minimal-navigation-bar"><form name="simplesearch" method="get" action="http://trials.actinic.com/cgi-bin/ss101000.pl"><ul><li class="minimal-home-link"><a href="index.html">Home</a></li><Actinic:NOTINB2B><li><a href="http://trials.actinic.com/cgi-bin/ss101000.pl?ACTION=LOGIN&SHOP=trlshop62144">Login</a></li></Actinic:NOTINB2B><li><a href="search.html">Search</a></li><li class="minimal-search-field"><input name="SS" type="text" size="20" value="Search the Site" /></li><li class="minimal-search-button"><input type="image" name="ACTION" alt="Go!" src="minimal-search-button.gif" /></li> <li><a href="shop.html">Up a Level</a></li><li><a href="info.html">Terms & Conds</a></li><li><a href="http://trials.actinic.com/cgi-bin/mf101000.pl?ACTION=SHOWFORM&SHOP=trlshop62144">Contact Us</a></li><li class="minimal-checkout"><a href="http://trials.actinic.com/cgi-bin/os101000.pl?ACTION=Start&SHOP=trlshop62144">Checkout</a></li><li class="minimal-view-cart"><a href="http://trials.actinic.com/cgi-bin/ca101000.pl?ACTION=SHOWCART&SHOP=trlshop62144">View Cart - Items:<script language="javascript" type="text/javascript">
document.write(getCartItem(3));
document.write(getCartItem(1));
peblaco
11-May-2010, 02:22 PM
All using the "Outer Layout for Silver Theme", but i changed the theme and 3 errors still occur -
You could check what is in the layouts "Basehref" and "JavascriptFunctions" layouts by double clicking the pink links for their layout selectors once you are in the Outer layout view, or find the layouts via Design menu > Library > Basehref & Javascript Header Functions groups and and check they are not empty.
You seem to have two different header area content on the trial site's Brochure and Shop layouts and neither of them correlate with what you show in your outer layout. It's pretty hard to tell from here what you've got going on which is causing an issue.
The whole settings menu and layouts tab would need carefully checking as well as the network settings and upload to web.
lazystudent
11-May-2010, 02:26 PM
ok ok ok i think i have it
Im on "Design Libary" - "Base Href" - "Default Base Href" and its blank, theres nothing there!
Could that be the problem and if so what should be there and im guessing this effects all templates
peblaco
11-May-2010, 02:28 PM
ok ok ok i think i have it
Im on "Design Libary" - "Base Href" - "Default Base Href" and its blank, theres nothing there!
Could that be the problem and if so what should be there and im guessing this effects all templates
Yes. Right click that layout and revert to factory/default. Check the same for the Javascript functions I described in the previous post and revert that also to factory/default.
Edit: Note: If these were missing then you may also want to check the meta tags fields layouts to see if they are blank.
lazystudent
11-May-2010, 02:32 PM
:) That was it, i dont know how i did it but i got rid of them, but they are back now and the site has no errors thank you so much
peblaco
11-May-2010, 02:44 PM
:) That was it, i dont know how i did it but i got rid of them, but they are back now and the site has no errors thank you so much
No problem. But.. you still have some errors!.
1) When I add something to cart from your extended product page when I get reverted back to the previous page with a "Not found" because it is adding a / on the end of the link. So you need to check the coding here.
2) Home page has the word "acatalog" for some reason after your Site Map link.
3) Did you check the meta tags layout to see if it was blank?
And I'd really recommend having your view cart and checkout link stand out more than being bunched up on the end of the left menu.
lazystudent
11-May-2010, 02:57 PM
1)Yeah the coding for the back button is -
<a href="javascript:history.go(-1)"><img src="Images\BackButton.png" alt="BackButton"></a>
When all i want it to to is go back to the main product selection
2)Got rid of the acatalog
3)The Meta Tag layout hasn't been edited and is full of code
And i've moved the cart
peblaco
11-May-2010, 03:02 PM
1)Yeah the coding for the back button is -
<a href="javascript:history.go(-1)"><img src="Images\BackButton.png" alt="BackButton"></a>
When all i want it to to is go back to the main product selection
I did not mean the back button above the image, but if you click add to cart (bluecart.gif) from this page and then it bounces you to shopping cart and back you get page not found because it is adding a / on the link.
And i've moved the cart
This is now on the same place on the Home page but on the Product page on my browser (Firefox) it is now hovering over the top of the logo, be sure to check the placement in different browsers.
lazystudent
11-May-2010, 03:12 PM
What page does this happen on
Im adding the product to the shopping cart - http://trials.actinic.com/trials/trial62144/info_20.html
i see the shopping cart and i get re-directed back again i dont seem to get an error
peblaco
11-May-2010, 03:15 PM
What page does this happen on
Does it for me in Firefox browser on this page: http://trials.actinic.com/trials/trial62144/info_28.html
Strangely not in Internet Explorer though, could be a coding error of some kind that one browser is forgiving on.
lazystudent
11-May-2010, 03:19 PM
What version of Firefox are you using?
I have opened this link in my firefox and i can view the product, click add, see the cart then get re-directed back to extended info page, no errors etc
peblaco
11-May-2010, 03:24 PM
What version of Firefox are you using?
I have opened this link in my firefox and i can view the product, click add, see the cart then get re-directed back to extended info page, no errors etc
I cleared the cookies from the previous basehref issue and that's okay now. I'm still seeing the View Cart Checkout hovering above the logo:
lazystudent
11-May-2010, 03:27 PM
This isn't happening on my FF, IE or chrome, for any of the page
Maybe your running a different version??
peblaco
11-May-2010, 04:14 PM
This isn't happening on my FF, IE or chrome, for any of the page
Maybe your running a different version??
The problem is because you're using absolute positioning CSS to position layers on the page. This positions an element a certain number of pixels from the left of the page. The problem is that this calculation changes depending on the monitor resolution. I have a wide screen monitor so on my screen the basket appears over the logo and if you test in 1024 its on the far right.
I'd advise avoiding absolute position in CSS layouts where possible because it doesn't allow for different screen sizes and it often causes more problems than it's worth. Using CSS to float the element right with a width will do what you want without causing this issue.
lazystudent
12-May-2010, 08:18 AM
I have taken your advice and have positioned the cart correctly and i think it looks alright now
peblaco
12-May-2010, 08:22 AM
I have taken your advice and have positioned the cart correctly and i think it looks alright now
The links now appear below the logo, but please note that "float:centre;" is not a valid float property, see float property values (http://www.w3schools.com/css/pr_class_float.asp).
lazystudent
12-May-2010, 08:26 AM
Yeah that was a mistake on my part, it did the same thing as align=left so i left it. According to actinic there is an error on the catalog page -
Child section.1 is null or not an object, yet the error is no where else on the website and i again cant click on the error link
peblaco
12-May-2010, 08:34 AM
Yeah that was a mistake on my part, it did the same thing as align=left so i left it.
The checkout links might be better somewhere like top right, you can't really notice it where you've placed it.
According to actinic there is an error on the catalog page - Child section.1 is null or not an object, yet the error is no where else on the website and i again cant click on the error link
Which page is that within Actinic?. I can't seem to see that on the trial site.
lazystudent
12-May-2010, 08:47 AM
http://trials.actinic.com/trials/trial62144/shop.html is the page where the error is.
peblaco
12-May-2010, 08:50 AM
http://trials.actinic.com/trials/trial62144/shop.html is the page where the error is.
I don't seem to get a Javascript error come up on that page in either the Firefox error console or Internet Explorer, do you or is it just within the software?.
lazystudent
12-May-2010, 08:55 AM
Here is the error i get and yes it does only seem to be with the software.
How is the position of the cart? I quite like it there, more open and pronounced
peblaco
12-May-2010, 09:06 AM
Here is the error i get and yes it does only seem to be with the software.
Have you customised anything in the Javascripts or menus?. Perhaps these need resetting to factory/default.
How is the position of the cart? I quite like it there, more open and pronounced
It looks better.
For some reason I'm still getting the odd error with page not found after browsing from a section and going to the Products link at the top, not sure if this is related to the trial hosting, you could try testing with Firefox browser.
lazystudent
12-May-2010, 09:34 AM
Everything that could be has been restored to factory settings,
I cant seem to re-create the error you encounter, what version of ff are you running, maybe i have a different version
peblaco
12-May-2010, 09:43 AM
Everything that could be has been restored to factory settings,
You'd have to check your layout, as it's customised you could have something in the menu or Javascript that is creating a problem. If you haven't touched the Actinic Javascript files they should be okay, if you have you could try copying in the originals into your Site1 from C:\Program Files\Actinic v10\Original
I cant seem to re-create the error you encounter, what version of ff are you running, maybe i have a different version
I'm on the latest 3.6.3, but it seems to work for a while after clearing cookies but has come back a couple of times so it's intermittent.
lazystudent
12-May-2010, 09:46 AM
I will have a look at those files, and im annoyed i cant seem to get that error
peblaco
01-Jun-2010, 10:13 AM
The extended info page error not found I mentioned on page 2 was a bug so you may want to apply the fix from here (http://community.actinic.com/showthread.php?t=47235).
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.