HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Fatal Error - vanillaforums.org

edited December 2011 in Feedback

vanillaforums.org/docs/featuresaddons-pluginsembedvanilla


Uninitialized string offset: 61
The error occurred on or near: /var/www/frontend/applications/pages/models/class.pagemodel.php

204:

205: // Parse the global directives.

206: $Directives = array();

207: $i = 0;

208: while ($Text[$i] == '#') {

209: // Grab the directive;

210: $j = strpos($Text, "\n", $i);

211:

212: if ($j === FALSE)

Backtrace:

[/var/www/frontend/applications/pages/models/class.pagemodel.php:208] PHP::Gdn_ErrorHandler();

[/var/www/frontend/applications/pages/models/class.pagemodel.php:124] PageModel->Parse();

[/var/www/frontend/applications/pages/controllers/class.pagecontroller.php:47] PageModel->Get();

[/var/www/frontend/applications/pages/controllers/class.pagecontroller.php:47] PageController->Index();

[/var/www/frontend/library/core/class.dispatcher.php:350] PHP::call_user_func_array();

[/var/www/frontend/index.php:56] Gdn_Dispatcher->Dispatch();

Variables in local scope:

[Text] '#redirect http://vanillaforums.org/addon/embedvanilla-plugin
'

[Result] array (
'PageID' => '1331',
'Name' => 'featuresaddons-pluginsembedvanilla',
'InsertUserID' => '121',
'DateInserted' => '2011-11-23 21:28:49',
'Content' => '#redirect http://vanillaforums.org/addon/embedvanilla-plugin
',
'Format' => '',
'Current' => '1',
'Cache' => NULL,
'InsertName' => 'Todd',
'Parsing' => true,
'Title' => '',
'Html' => '',
'Directives' =>
array (
),
'Links' =>
array (
),
'Template' => 'template:default',
)

[LastCurrentPage] NULL

[Directives] array (
'redirect' => 'http://vanillaforums.org/addon/embedvanilla-plugin',
)

[i] 61

[j] 60

[DirectiveString] 'redirect http://vanillaforums.org/addon/embedvanilla-plugin
'

[Directive] array (
'Type' => 'redirect',
'Args' => 'http://vanillaforums.org/addon/embedvanilla-plugin',
)

Need Help?

If you are a user of this website, you can report this message to a website administrator.

If you are an administrator of this website, you can get help at the Vanilla Community Forums.
Additional information for support personnel:

Application: Vanilla
Application Version: 2.1a8
PHP Version: 5.3.3-1ubuntu9.6
Operating System: Linux
Server Software: nginx/1.0.5
Referer: http://vanillaforums.org/docs
User Agent: Mozilla/5.0 (Ubuntu; X11; Linux x86_64; rv:8.0) Gecko/20100101 Firefox/8.0
Request Uri: /docs/featuresaddons-pluginsembedvanilla
Controller: PageModel
Method: Parse

Answers

Sign In or Register to comment.