Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot use lithium\util\String as String because 'String' is a special class name in C:\lithium-0.10\libraries\lithium\core\Libraries.php on line 12 #1267

Closed
sildeag opened this issue Feb 5, 2016 · 3 comments

Comments

@sildeag
Copy link

sildeag commented Feb 5, 2016

Newbie to php.
Anyone know what is causing this problem?
/** line 12 is: use lithium\util\String; /
/
Using Windows 10, IIS Express 10, and PHP 7 **/

/** Libraries.php **/

@nateabele
Copy link
Member

Please check out the 1.1 branch, which has been updated for PHP 7.

@sildeag
Copy link
Author

sildeag commented Feb 5, 2016

Hi Nate,

I wasn’t sure exactly how to implement your changes, probably did it wrong, but they worked. I put your tree into Lithium-0.10/libraries/lithium. Thanks.

That issue is closed. The default website was interesting.

I was interested in getting MongoDB to work and uncommented the in config\bootstrap and am investigating what below means:

Gordon

Uncaught lithium\core\ClassNotFoundException: Class Index.Php of type controllers not found. in C:\lithium-0.10\libraries\lithium\core\Libraries.php:690 Stack trace: #0 C:\lithium-0.10\libraries\lithium\aop\Filters.php(229): lithium\core\Libraries::lithium\core{closure}(Array) #1 C:\lithium-0.10\libraries\lithium\core\Libraries.php(699): lithium\aop\Filters::run('lithium\core\Li...', 'instance', Array, Object(Closure)) #2 C:\lithium-0.10\libraries\lithium\action\Dispatcher.php(251): lithium\core\Libraries::instance('controllers', 'Index.Php', Array) #3 C:\lithium-0.10\libraries\lithium\aop\Filters.php(229): lithium\action\Dispatcher::lithium\action{closure}(Array) #4 C:\lithium-0.10\libraries\lithium\action\Dispatcher.php(255): lithium\aop\Filters::run('lithium\action...', '_callable', Array, Object(Closure)) #5 C:\lithium-0.10\libraries\lithium\action\Dispatcher.php(167): lithium\action\Dispatcher::_callable(Object(lithium\action\Request), Array, Array) #6 C:\lithium-0.10\libraries\lithium\aop\Cha in C:\lithium-0.10\libraries\lithium\action\Dispatcher.php on line 253

From: Nate Abele [mailto:notifications@github.com]
Sent: Thursday, February 4, 2016 7:06 PM
To: UnionOfRAD/lithium lithium@noreply.github.com
Cc: sildeag gordon@shieldaig.com
Subject: Re: [lithium] Cannot use lithium\util\String as String because 'String' is a special class name in C:\lithium-0.10\libraries\lithium\core\Libraries.php on line 12 (#1267)

Please check out the 1.1 branch, which has been updated for PHP 7.


Reply to this email directly or view it on GitHub #1267 (comment) . https://github.com/notifications/beacon/AGSM6iFCjX0Mcg95F5Rc1QayoMOhibddks5pg_rxgaJpZM4HT9Hf.gif

@mariuswilms
Copy link
Member

Please use http://stackoverflow.com/questions/tagged/lithium for support/help questions. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants