close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Virtual error message

Thread began 7/05/2011 3:29 pm by richard370782 | Last modified 7/06/2011 8:23 am by Jason Byrnes | 781 views | 1 replies |

richard370782

Virtual error message

I am using the full supersuite and in particular using SecurityAssist version: 1.1.9. When I create my code adn up load it to my hosting testing server - godaddy.com I get the following error

Fatal error: Call to undefined function virtual() in /home/content/m/a/x/maximus/html/memberarea/90days.php on line 1

The code that Security Assit creates is
<?php virtual( "/WA_SecurityAssist/Helper_PHP.php" ); ?>

When I change the code by hand to

<?php include("/WA_SecurityAssist/Helper_PHP.php" ); ?>

I get the following error

Warning: include(/WA_SecurityAssist/Helper_PHP.php) [function.include]: failed to open stream: No such file or directory in /home/content/m/a/x/maximus/html/memberarea/90days.php on line 1

Warning: include() [function.include]: Failed opening '/WA_SecurityAssist/Helper_PHP.php' for inclusion (include_path='.:/usr/local/php5/lib/php') in /home/content/m/a/x/maximus/html/memberarea/90days.php on line 1

If I place directory ".." before the "/" it works

I really don't want to have to hand change every line of code in this site. Can anyone offer any suggestions?

Richard

Sign in to reply to this post

Jason ByrnesWebAssist

In your Dreamweaver Site Settings, on the Local Info tab, there is an option to "Create Links relative to", if you set this option to "Site" Dreamweaver will use the virtual() function for attaching included files, if you set this to "Document instead, Dreamweaver will use the require_once() function.

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