close ad
Help us test the new Databridge BETA with MySQLi support
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Show Region (if certain user level) not working

Thread began 11/05/2009 8:18 am by larsentim278054 | Last modified 11/05/2009 2:34 pm by Jason Byrnes | 1468 views | 8 replies |

larsentim278054

Show Region (if certain user level) not working

I'm using a regular WebAssist menu on a restricted page. And on that page, in the navigation, I have a link that I only want Administrators to see (a certain user level). So in the menu.php file, I highlight the LI tag that I only want to show to administrators, then go to insert and in SA's options, I click on Show Region.. Then I select Administrator. I save and upload the menu.php file, but I now get an error when it tries to display the page. This is the error:

Warning: require_once(../../WA_SecurityAssist/Helper_PHP.php) [function.require-once]: failed to open stream: No such file or directory in /home/thelarse/public_html/marinacondosmadison/CSSMenuWriter/cssmw/menu.php on line 1

Fatal error: require_once() [function.require]: Failed opening required '../../WA_SecurityAssist/Helper_PHP.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/thelarse/public_html/marinacondosmadison/CSSMenuWriter/cssmw/menu.php on line 1



What do I need to do?

Sign in to reply to this post

Jason ByrnesWebAssist

in the CSSMenuWriter/cssmw/menu.php file try changing the path to the WA_SecurityAssist/Helper_PHP.php page form:
../../WA_SecurityAssist/Helper_PHP.php


to:
../../../WA_SecurityAssist/Helper_PHP.php

Sign in to reply to this post

larsentim278054

I tried that. Doesn't help. I also tried just using "/" and that didn't help either. Same error message (only difference is that is adds the ../ to the url in the error message.

Sign in to reply to this post

Jason ByrnesWebAssist

can you post a URL.

Sign in to reply to this post

larsentim278054

No, not really. You need to have login details.

Sign in to reply to this post

larsentim278054

Do you want me to upload any certain pages?

Sign in to reply to this post

Jason ByrnesWebAssist

It's fine if i cant get to the page really, I just need to be able to see the URL to the page in relation to the location of the SecurityAssist folder on your site.

the error is occurring in the CSSMenuWriter/cssmw/menu.php, if I could just have a link to that page, I can probably figure the error out.

Sign in to reply to this post

larsentim278054

As I was replying, I realized what you were trying to figure out. It's only one folder back from where that php file is. So I made it just ONE ../ and it works now.

Thanks!

Sign in to reply to this post

Jason ByrnesWebAssist

;) Nicely done.

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