Jump to content

Recommended Posts

I am setting up a forums and i get this error.

 

Parse error: syntax error, unexpected '.', expecting T_STRING in /hosted/subs/ulmb.com/v/b/vbulletintest/public_html/global.php on line 20

 

Line 20 looks like this:

 

function.require_once(CWD . '/includes/init.php');

 

What do i do lol.

Link to comment
https://forums.phpfreaks.com/topic/66135-i-have-a-problem/
Share on other sites

But then i get this:

 

Warning: require_once() [function.require-once]: Unable to access /hosted/subs/ulmb.com/v/b/vbulletintest/public_html/includes/init.php in /hosted/subs/ulmb.com/v/b/vbulletintest/public_html/global.php on line 20

Warning: require_once(/hosted/subs/ulmb.com/v/b/vbulletintest/public_html/includes/init.php) [function.require-once]: failed to open stream: Invalid argument in /hosted/subs/ulmb.com/v/b/vbulletintest/public_html/global.php on line 20

Fatal error: require_once() [function.require]: Failed opening required '/hosted/subs/ulmb.com/v/b/vbulletintest/public_html/includes/init.php' (include_path='.:/usr/local/share/pear') in /hosted/subs/ulmb.com/v/b/vbulletintest/public_html/global.php on line 20

Link to comment
https://forums.phpfreaks.com/topic/66135-i-have-a-problem/#findComment-330804
Share on other sites

I still get this:

 

Warning: require_once() [function.require-once]: Unable to access /hosted/subs/ulmb.com/v/b/vbulletintest/public_html/includes/init.php in /hosted/subs/ulmb.com/v/b/vbulletintest/public_html/global.php on line 20

Warning: require_once(/hosted/subs/ulmb.com/v/b/vbulletintest/public_html/includes/init.php) [function.require-once]: failed to open stream: Invalid argument in /hosted/subs/ulmb.com/v/b/vbulletintest/public_html/global.php on line 20

Fatal error: require_once() [function.require]: Failed opening required '/hosted/subs/ulmb.com/v/b/vbulletintest/public_html/includes/init.php' (include_path='.:/usr/local/share/pear') in /hosted/subs/ulmb.com/v/b/vbulletintest/public_html/global.php on line 20

Link to comment
https://forums.phpfreaks.com/topic/66135-i-have-a-problem/#findComment-330809
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.