Unable to run webpage with warnings
2 posts
• Page 1 of 1
Unable to run webpage with warnings
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
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
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.
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
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 45 guests