Development

#1430 (Fresh RC2 project crashes in DEV on spl_autoload_call())

You must first sign up to be able to contribute.

Ticket #1430 (reopened defect)

Opened 1 year ago

Last modified 2 weeks ago

Fresh RC2 project crashes in DEV on spl_autoload_call()

Reported by: snowkrash Assigned to:
Priority: major Milestone: 1.1.1
Component: controller Version: 1.1.0 RC2
Keywords: 1.1.0 rc2 session_start spl_autoload_call Cc: jordi@westsitemedia.nl, kjk@gniew.org
Qualification: Unreviewed

Description

I did an SVN update in RC2 and since yesterday my project (created in RC2) doesn't work anymore in DEV mode. I get session_start() errors, shown below. I did symfony upgrade 1.0 and symfony cc. But that does not make any difference.

The PROD environment shows the normal default page.

I even recreated a new project on the new revision, but I get the same errors.

Errors when accessing default module/action in DEV

Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: Function spl_autoload_call() hasn't defined the class it was called for in D:\Software\Webdev\Frameworks\Symfony\lib\storage\sfSessionStorage.class.php on line 77
1	{main}()	E:\Websites\projects\stageselect\trunk\web\stageselect_dev.php:0
2	sfContext::getInstance()	E:\Websites\projects\stageselect\trunk\web\stageselect_dev.php:10
3	sfContext->initialize()	D:\Software\Webdev\Frameworks\Symfony\lib\util\sfContext.class.php:87
4	require('E:\Websites\projects\stageselect\trunk\cache\stageselect\dev\config\config_factories.yml.php')	D:\Software\Webdev\Frameworks\Symfony\lib\util\sfContext.class.php:70
5	sfSessionStorage->initialize()	E:\Websites\projects\stageselect\trunk\cache\stageselect\dev\config\config_factories.yml.php:15
6	session_start ()	D:\Software\Webdev\Frameworks\Symfony\lib\storage\sfSessionStorage.class.php:77

And this repeats four times.

System

- Windows XP Pro. SP2 - XAMPP 1.4a

  • Apache 2.2.3
  • PHP 5.1.6

- Symfony 1.0.0 RC2 r3422 from SVN branch 1.0

Change History

02/07/07 14:53:04 changed by francois

Did you try to manually remove the contents of the cache/ folder?

02/07/07 15:09:02 changed by snowkrash

Yes, I just did. ;-) This doesn't make any difference unfortunately.

02/08/07 08:08:17 changed by snowkrash

  • status changed from new to closed.
  • resolution set to worksforme.

Why, o why?

Everything seems to work fine now. I did some serious cleanup in my browser. I got an additional update on the Symfony 1.0 branch (but there weren't any significant changes I could find).

Could it have been a browser issue?

But my project is fine now. Go figure?!

06/27/08 11:47:52 changed by kjk

  • status changed from closed to reopened.
  • cc changed from jordi@westsitemedia.nl to jordi@westsitemedia.nl, kjk@gniew.org.
  • component set to controller.
  • version changed from 1.0.0-rc1 to 1.1.0 RC2.
  • qualification set to Unreviewed.
  • milestone changed from 1.0.0 to 1.1.0.
  • keywords changed from 1.0.0 rc2 session_start spl_autoload_call to 1.1.0 rc2 session_start spl_autoload_call.
  • resolution deleted.

It can happen when ProjectConfiguration::getApplicationConfiguration() is called with $debug = true. I haven't tracked it down yet.

06/29/08 22:55:12 changed by FabianLange

  • milestone changed from 1.1.0 to 1.1.1.

07/14/08 00:20:59 changed by Carl.Vondrick

Check for segfaults if it crashes with $debug = true. This is the most likely cause in my opinion because $debug = true will use more memory.