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

Fatal error:Call to undefined function virtual()in/home/minutorg/public_html/index.ph

Thread began 8/05/2009 3:01 am by Wayne366927 | Last modified 4/02/2015 2:50 pm by Ray Borduin | 12872 views | 11 replies |

Wayne366927

Fatal error:Call to undefined function virtual()in/home/minutorg/public_html/index.ph

Hello:
When I run Site Assist and upload the site I get the following error when I browse the site: "Fatal error: Call to undefined function virtual() in /home/minutorg/public_html/index.php on line 64
".

Line 63 in the /index.php says:
"<?php virtual("/CSSMenuWriter/cssmw_home/menu.php"); ?>"

What am I doing wrong?

Wayne G.

Sign in to reply to this post

Jason ByrnesWebAssist

change:

php:
<?php virtual("/CSSMenuWriter/cssmw_home/menu.php"); ?>




to:

php:
<?php require_once("CSSMenuWriter/cssmw_home/menu.php"); ?>




Dreamweaver is using the "virtual" syntax because in your Site Definition, the "Create Links Relative To:" option is set to Site. If you change that to "Document" instead, Dreamweaver will use the "require_once"syntax.

Sign in to reply to this post

Wayne366927

Thanks

Hi Jason:
Thank you for your considerate, prompt and correct answer. Your support is making the learning curve a bit easier to deal with.

Best regards,

Wayne G.

Sign in to reply to this post

Jason ByrnesWebAssist

you're welcome, glad to help.

Sign in to reply to this post

bear389523

Thank you

Same problem for me. Spent hours trying to figure it out. :(

Thanks so much!! Too easy when you know what your doing!

Mike

Sign in to reply to this post

tiffanyginestra363654

Mine too... but also

That solved my issue as well... And the menu shows up, but it's still not showing the css for the menu. Do you have another easy fix?

Sign in to reply to this post

Jason ByrnesWebAssist

Please post a link so I can take a look.

Sign in to reply to this post

tiffanyginestra363654

Sorry it took so long

Here is a link:

firstclasscarpentry/

Sign in to reply to this post

Jason ByrnesWebAssist

your page is looking for the menu css at:
menu.css

this location gives a 404 page not found error.
make sure you have uploaded the CSSMenuWriter folder to your server.

Sign in to reply to this post

tiffanyginestra363654

It works!

Thanks so much!
I couldn't see that because I had it as a relative link from where the spry was being viewed.
Using your information, I replaced it as a relative link from the root folder and it worked! Awesome!

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