@WantSome -- what statement is on line 899 of your portalblocks.php?
@Baloch -- many users have encountered this problem when installing Simple Portal and other large mods on certain hosts.
The problem is related to how SMF attempts to install the mods. If it encounters a problem writing the directories, it will set the permissions "more permissive" until it thinks it has succeeded.
It should be possible to fix the problem by setting permission to 755 on directories and 644 on files, then doing the install.
At this point, all required files and directories should be writable by the SMF package manager, and it should not try to reset permissions.
The only remaining directory which MIGHT give a problem at this point MIGHT BE the "temp" directory. For more information, please see
http://simpleportal.net/index.php?action=docs;area=solving_install_problems@johnpaul -- yes. It all depends on where your ads come from.
The simplest answer is -- use an HTML block to include the ad code.
Use a table to get them laid out properly.
If some php is required, you will need a php block. Of course, that means using php to construct your HTML.