close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

template changes

Thread began 3/16/2010 8:28 pm by westmorelandgraphics311771 | Last modified 3/18/2010 10:47 am by Eric Mittman | 1887 views | 5 replies |

westmorelandgraphics311771

template changes

I made changes to powerstore200's main template in dreamweaver, updated all of the pages using that template, and uploaded them to my site. Now, the pages are missing all of the formatting and I'm getting these error messages.

Warning: require_once(../CSSMenuWriter/cssmw_home/menu.php) [function.require-once]: failed to open stream: No such file or directory in /home/denwest/public_html/store/AboutUs.php on line 179

Fatal error: require_once() [function.require]: Failed opening required '../CSSMenuWriter/cssmw_home/menu.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/denwest/public_html/store/AboutUs.php on line 179

I also re-uploaded the css and CSSMenuWriter folders. I don't know what this means or how to fix it. I'm not sure what to do next.

Here's the link to this page-

AboutUs.php

Thanks for your help.

Sign in to reply to this post

Eric Mittman

It looks as though there are a few issues with linking to the other files on your pages. When I check the source I can see that they are all set to file system paths. It looks like when you made these edits you did not have the site properly defined in DW. You must first have you site setup in DW including the testing server info so that any changes you make will be incorporated into the site correctly.

The Warning: require_once(../CSSMenuWriter/cssmw_home/menu.php) error is letting you know that you have the menu writer include referenced on the page with a ../ in front of it. You need to make sure that it does not have this ../ in front of the path on your page.

If you have a hard time getting it all set back up you should revert to the original downloaded files and start fresh with those. Make sure that you define your site in DW before you attempt to make any changes or you can have other issues as well. Here is a link to a how to on getting your dw site defined:

dynamic_site_definitions.php

Sign in to reply to this post

westmorelandgraphics311771

H, Eric,

I have had a helluva time getting the testing server to work. I don't know enough about this to know what I am doing wrong, so, I just keep trying different things until something works. I have finally achieved some kind of connection, but, nothing shows up.

The DB is in place. I have been able to access it previously and add/update products online. I was doing everything live, because I always have trouble with the testing server. I understand that this is the best way to handle things, but, I'm getting grey trying to figure it out and get it to work. Your suggestions are greatly appreciated, but, please understand that I am very new at this and sometimes the simplest things escape my notice.

Here's the link-

index.php

Any idea what I am doing wrong?

Thanks. Denise

Sign in to reply to this post

Eric Mittman

The link that you posted is for you own local machine. I will not be able to access the page at this address from the internet, you can only access this locally from your machine.

It seems like you were able to get your site defined in DW, did you also install a local testing server? If so what is the current error you are getting on the page locally? If you have not got a local testing server up and running here is a link to another doc that we have on this subject:

xampp_for_windows.php

Sign in to reply to this post

westmorelandgraphics311771

Hi, Eric,

I'm on a Mac using MAMP. The testing server is up and running. I kept getting a blank page, so, I started from scratch with a clean copy of PowerStore. That did the trick. Any of the files that I open from DW can be viewed in my browser, but, the links from the navigation are not working. i.e. - when I click on contact, I get the error -

Not Found

The requested URL /contactus.php was not found on this server.

Apache/2.0.63 (Unix) PHP/4.4.9 DAV/2 Server at localhost Port 80

Is this a related issue or is something else happening? Thanks for your help.

Denise

Sign in to reply to this post

Eric Mittman

The links in the menu should be based off of the root URL value that is in the wa_settings table in your PowerStore database. Check on the value in here, it should match the location of where you store the files within your webroot. This value should be the first one in the wa_settings table if you view the data.

On my local testing server setup I have the powerstore in a folder called powerstore in my webroot. For me the root URL value is set like this:

powerstore/

Sign in to reply to this post

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...