close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

need help with PG 1&1 and godaddy has same issue

Thread began 12/30/2009 8:21 pm by stevej_a2343714 | Last modified 1/04/2010 9:31 pm by Eric Mittman | 2143 views | 10 replies |

stevej_a2343714

need help with PG 1&1 and godaddy has same issue

I have some power gallery pages posted at godaddy that are not working. I recently - on advice from your website - signed up for hosting at 1&1. I am having the exact same issue although you (support) claimed I wouldn't. I'm extremely frustrated by all of this.

godaddy Issue: i am trying to use subdomains for my site. when I try to navigate to the php page that includes the power gallery code (absolute path), the gallery and CSS menu writer files all work fine. However, when navigating to the SAME page through the subdomain the gallery code does not work and the css menu writer code also does not display correctly.

After speaking with your support I was assured that I would not have this issue at 1&1. unfortunately this was not the case. After mirroring my godaddy setup at 1&1, I have the EXACT same issues with one exception. at 1&1 NOTHING works. not even navigating to the absolute path.

the only thing consistent between the two hosts is that neither of them work. Also, if I use the link provide by the "add to site" page in admin the gallery loads fine. Just not in my pages.

I did a test... I created a totally blank page with one div. inside of that div I put the pg code. It worked. So I tried one more thing. I removed the php include call from the css menu writer code that came before the pg php call. IT WORKED. i can view my gallery just fine. However, I have no navigation - so this creates another issue.

the only thing I did was remove the css menu writer code AND I put the php page that includes the pg code in the root directory of my domain.

I need a real solution to being able to combine the css menu writer code along with the pg code INSIDE of a subdomain. I hate to yell "fire", but I've put FAR too many hours into this and I need you to give me an actual fix. Also, (not like it's your concern) I have two potential jobs relying on my ability to make this very issue work. If I cannot - it will cost me $$$. I need this to be fixed yesterday..... so please help me!!

Steve

Sign in to reply to this post

Eric Mittman

I have been running some tests like this on my end and can confirm that the PG code and CSS Menu Writer code are not incompatible on their own. Do you have a link to a working PG page and one with the menu on it so that we can examine them? If we can see what is being rendered and what is not it may help us to understand the problem. Also, do you have error reporting turned on? If not you should enable this so that you can confirm no errors are occurring.

Sign in to reply to this post

stevej_a2343714

stevejoslin.net is the page with just PG code only... no design code


bw.php is the page with PG but without menuwriter


city.php is the page with both PG & menu writer

please help

Sign in to reply to this post

neilo

On line 39 of your city.php page, (via the include) change the path:

../CSSMenuWriter/cssmw/menu.php

to:

CSSMenuWriter/cssmw/menu.php

(i.e. remove the '../')

Sign in to reply to this post

stevej_a2343714

thanks. that fixed the gallery on the city.php page... but The menu does not appear properly on either page. any suggestions?

Sign in to reply to this post

neilo

Hi Steve,

Looking at your menu.css file ( menu.css ) it looks like the paths to your background images are wrong.

Where you have (for example) something like:

background-image: url("file:///Joslin MBP/Users/steve/Sites/sdj/gallery/CSSMenuWriter/cssmw_images/menu_bg_l.jpg");


it should read:

background-image: url("../cssmw_images/menu_bg_r.jpg");



i.e. in all such lines you should replace:

file:///Joslin MBP/Users/steve/Sites/sdj/gallery/CSSMenuWriter/


with:

../



You could do a search & replace to easily do this.

The chances are that this is happening because of the way that your site is defined in Dreamweaver. Check (Site > Manage Sites > Edit > Local Info) that you have set the 'Links relative to' to 'Document', and not 'Site Root'. This will prevent path errors like these in the future.

In the meantime you can either redo the menu, having changed the site definition 'relative to', or just change your menu.css to show the correct paths.

Post back if you have any queries.

Sign in to reply to this post

stevej_a2343714

thanks so much... really. I really appreciate you taking the time to look at my issue.

Since you helped with these issues... perhaps you could look at one more.

I really want to run this PG stuff under a subdomain. I have the bw.php page setup in my subdomain.

bw.php

I know this is an issue with using a subdomain but I can't seem to figure it out. I get the error that "line 38" is the problem but that file DOES exist...

Any suggestions?

thanks
Steve

Sign in to reply to this post

neilo

Hi Steve,

It depends (I think) on how you have set up the sub-domain. Many (most?) hosting set-ups would by default assign a sub-domain to a folder in the root directory with the same name, i.e. - if you had a folder under the root directory called 'myfolder', then you would automatically (without setting anything up) refer to it as a sub-domain by calling www.myfolder.mysite.com.

You can also map a sub-domain to any other directory, in which case only you would know the paths.

So if, as it seems, your 'http://gallery.stevejoslin.net' is a (virtual) sub-domain for 'http://stevejoslin.net/gallery/', i.e. your files are actually in a folder called 'gallery' in your root directory, then your paths in any page in that folder to the 'CSSMenuWriter/cssmw/menu.php' would need to begin with '../' (i.e. '../CSSMenuWriter/cssmw/menu.php').

A file that looks for 'thisfolder' assumes that 'thisfolder' is in the same directory as itself.
A file that looks for '../thisfolder' assumes that 'thisfolder' is in a directory one level up from itself.
A file that looks for '../../thisfolder' assumes that 'thisfolder' is in a directory two level up from itself.

And so on.

So if your gallery page is in yoursite.net/gallery/yourgallerypage.php, and your menu files are in yoursite.net/CSSMenuWriter/cssmw/menu.php, then you would need to step back one level from the gallery folder to start on your path to your menu files.

Sorry if this is a ramble; faulty paths are a major cause of problems, especially if you are moving files about.

Not sure if I've explained anything at all, so post back with any questions. Perhaps someone who has implemented sub-domains in their site will post back with more insight.

Sign in to reply to this post

stevej_a2343714

that really helps. I'll try that. Why someone from WA cannot offer support just shocks me. After all... they're the one I paid for the product & support yet they have been little help.

Thanks so much!

Steve

Sign in to reply to this post

neilo

You're welcome Steve. The Webassist Staff have been away over the holiday weekend (Thursday evening to Monday) and there is quite a backlog of work to get through at these times. Their response often far exceeds regular support hours and they always go the extra mile.

This forum is a big part of the solution; so it's always still worth posting out of hours to see if another user can help.

The Support hours and policy can be seen here.

Sign in to reply to this post
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...