Unable to run webpage with warnings

Discussion about the open-source Phalanger [?] project.

Unable to run webpage with warnings

Postby juzna@codeplex » December 31st, 2006, 3:27 pm

Hi,

I'm unnable to run an ASP.NET page which contains a PHP script when there's a warning while compiling the PHP code.

Example:
file app_code/class1.php:

...
class Class1
{
function __construct()
{
return;
echo "something";
}
}
...



I got an compilation error:

Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message:

Compiler Warning Messages:
Warning: PHP0008: Unreachable code detected





It's just warning, it means really nothing, but the page isn't working and I can see just the error :(



Can I do something with it or is it kind of a bug?
THX
juzna@codeplex
 
Posts: 5
Joined: January 7th, 2012, 8:56 pm

RE: Unable to run webpage with warnings

Postby juzna@codeplex » December 31st, 2006, 3:31 pm

Even who cares there's an unreachable code or sth.

When compiling my other project there appear about 10 warnings which I can't or just dont want to rewrite. I need to compile my project with those warnings and it's not possible.
juzna@codeplex
 
Posts: 5
Joined: January 7th, 2012, 8:56 pm


Return to Phalanger project

Who is online

Users browsing this forum: No registered users and 45 guests

cron

User Control Panel

Login

Who is online

In total there are 45 users online :: 0 registered, 0 hidden and 45 guests (based on users active over the past 5 minutes)
Most users ever online was 511 on April 27th, 2024, 10:11 pm

Users browsing this forum: No registered users and 45 guests