This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

ruff80y
ruff80y

Hi i'm new with october and i get strange exception when the october app is on root domain (domain.com):

Uncaught exception 'ErrorException' with message 'strpos(): Empty needle' in /vendor/october/rain/src/Filesystem/Filesystem.php:94

when it is in domain.com/whatever all works fine also when october app is on subfolder on my hosting and my domain points to subfolder that same error occurs...

thx for help :) sry for my English ;)

ruff80y
ruff80y

here is full exception:

Uncaught exception 'ErrorException' with message 'strpos(): Empty needle' in /vendor/october/rain/src/Filesystem/Filesystem.php:94 Stack trace: #0 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(2, 'strpos(): Empty...', '/vendor/october...', 94, Array) #1 /vendor/october/rain/src/Filesystem/Filesystem.php(94): strpos('/vendor/october...', '') #2 /vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(215): October\Rain\Filesystem\Filesystem->localToPublic('/vendor/october...') #3 /vendor/october/rain/src/Exception/ExceptionBase.php(234): Illuminate\Support\Facades\Facade::__callStatic('localToPublic', Array) #4 /vendor/october/rain/src/Exception/ExceptionBase.php(234): October\Rain\Support\Facades\File::localToPublic('/vendor/october...') #5 /modules/system/views/exception.php(49): October\Rain\Exception\ExceptionBase->getCallStack() #6 /vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(42): include('/modules/system...') #7 /vendor/laravel/framew

domain.com/whatever | filesonhosting.com/whatever - works, domain.com | filesonhosting.com - fails, domain.com | filesonhosting.com/whatever - fails, htaccess default from october with unhash RewriteBase

Last updated

ruff80y
ruff80y

problem was with my hosting home.pl i change it to kei.pl and october starts with no exceptions :)

redcircle.pl
redcircle.pl

ruff80y said:

problem was with my hosting home.pl i change it to kei.pl and october starts with no exceptions :)

To fix this problem on home.pl, you have to set your domain settings to: Turn on redirection to a directory without service separation (PL: Włącz przekierowanie na podkatalog bez separacji serwisu).

Regards!

1-4 of 4

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.