PHP-GTK2 Cookbook Forum
Welcome, Guest
Please Login or Register.    Lost Password?
Re:Parse error: syntax error, unexpected '/' (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:Parse error: syntax error, unexpected '/'


#2885
SUBSTAR (User)
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
Parse error: syntax error, unexpected '/' 10 Months, 1 Week ago Karma: 0  
Hi

I'm having a problem and I hope someone can help...

I'm currently trying to link Joomla 1.5 to SugarCRm 5.2.

Im runnning PHP5 and have directphp running. Coolio...

I'm trying to run this code.
"<?php
require_once("/content/HostingPlus/d/a/xxxxxxxx.com/xx/Sugar/include/nusoap/nusoap.php");

$url="http://xxxxxxxx.com/xx/Sugar/soap.php?wsdl";
$wsdl = new SOAP_WSDL($url);
echo "<pre>";
echo ( $wsdl->generateProxyCode() );
?>

which throws

Warning: require_once(/content/HostingPlus/d/a/xxxxxxxxx.com/xx/Sugar/include/nusoap/nusoap.php) [function.require-once]: failed to open stream: No such file or directory in /content/HostingPlus/d/a/xxxxxxxxxx.com/web/plugins/content/DirectPHP.php(54) : eval()'d code on line 1

Fatal error: require_once() [function.require]: Failed opening required '/content/HostingPlus/d/a/xxxxxxxxxxx.com/xx/Sugar/include/nusoap/nusoap.php' (include_path='.:/usr/local/fphp5/lib/php') in /content/HostingPlus/d/a/xxxxxxxxx.com/web/plugins/content/DirectPHP.php(54) : eval()'d code on line 1


Any sugestions or thoughts anyone?
 
  The administrator has disabled public write access.

#2903
kksou (Admin)
Admin
Posts: 1240
graph
User Online Now Click here to see the profile of this user
Re:Parse error: syntax error, unexpected '/' 10 Months ago Karma: 20  
Hi,

As the error message says, it cannot find the file.

Would you want to open a command window and type in the full pathname to verify that the path is there?

Also, you may want to double-check your php.ini for "open_basedir". Sometimes your host set the default php.ini such that you're limited to the files that can be opened by PHP to the specified directory-tree.

Please refer to http://php.net/manual/en/ini.sect.safe-mode.php for more info.

Regards,
/kksou
 
  The administrator has disabled public write access.



Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

Blog - Forum - Privacy Policy - Contact Us
Copyright © 2006-2009. kksou.com. All Rights Reserved