• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Name Collisions with autoload (best guess)

#3
[eluser]micha8l[/eluser]
[quote author="Aken" date="1344499369"]Blank screen = error. Turn error reporting on in your php.ini file / locally in index.php, and see what the error says. Debug from there.

You cannot declare the same class name in PHP, even if they're in different files in different directories. Your model class names must be different.[/quote]

Thanks for correcting me on that Aken, blank screen is indeed error. However error reporting is on, as I've tested it -- this is something else.

However I did not know I could not declare same class name, I'm newbie and my cracks are showing Big Grin

And so I look into namespaces http://www.php.net/manual/en/language.na...ionale.php



Messages In This Thread
Name Collisions with autoload (best guess) - by El Forum - 08-08-2012, 11:24 PM
Name Collisions with autoload (best guess) - by El Forum - 08-09-2012, 01:02 AM
Name Collisions with autoload (best guess) - by El Forum - 08-09-2012, 02:30 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.