Phpinfo Problem

I am trying to figure out whats wrong with my site and it comes to the point that I will be needing your help guys. My problem is that when I go to any url on my site

e.g. . http://wwww.mysite.com/index.php

http://wwww.mysite.com/admin

the phpinfo() keep on showing on the page.  Any idea how to to solve this problem? :)

Quote · 10 Jul 2008

Maybe you put

phpinfo()

in header.inc.php? :)

Quote · 10 Jul 2008

Nope, I didn't put any phpinfo(); in any codes or pages. .

http://iloilo.com.ph/member.php

http://iloilo.com.ph/admin

http://iloilo.com.ph/blogs.php

this are the actual example links. Pls. check it out.

Quote · 10 Jul 2008

Lets argue about it? :)

seems phpinfo already in

header.inc.php

and after here exit

.. or in your .htaccess redirect all paths to file with phpinfo

Quote · 10 Jul 2008

Thanks bro! :)

I open .httaccess and header.inc.php files and try to find "phpinfo()" on it but didn't return any matching case in the whole code. .grrr.. this problem just occur this early morning. Last night my website runs 100% fully functioning. Have you encounter this kind of problem AndreyP?

Quote · 10 Jul 2008

what should I do? I have to install a fresh one or just restore the files like , header.inc.php and .htaccess ?

Quote · 10 Jul 2008

find ./ -type f -exec grep -il "phpinfo" {} \;

try to perform it in SSH

you will find all places with this combination

Quote · 10 Jul 2008

sorry to tell you sir that the company where my website is hosted  doesn't offer any ssh in my account. Any possible way to find the solution for this problem sir?  :)

Quote · 10 Jul 2008

If I were you,

I would begin debug process

like firstly create another one PHP file and check this workable, if all Ok (so it don`t display phpinfo) so continue

If it display phpinfo - its 100% - .htaccess

continue:

if it worked, and display my output,

1. just put here require_once instructions

step by step ..

like

require_once( 'inc/header.inc.php' );
require_once( BX_DIRECTORY_PATH_INC . 'design.inc.php' );
require_once( BX_DIRECTORY_PATH_INC . 'profiles.inc.php' );
require_once( BX_DIRECTORY_PATH_INC . 'utils.inc.php' );

and
all time check my PHP file

so .. at any step you will find exactly place where you type phpinfo and forgot about it

good luck,

so just perform debug

Quote · 10 Jul 2008

I've created a file called test.php and the output is good

here's the link of the file . .

?http://www.iloilo.com.ph/test.php



require_once( 'inc/header.inc.php' );

require_once( BX_DIRECTORY_PATH_INC . 'design.inc.php' );

require_once( BX_DIRECTORY_PATH_INC . 'admin.inc.php' );

require_once( BX_DIRECTORY_PATH_INC . 'db.inc.php' );

require_once( BX_DIRECTORY_PATH_INC . 'profiles.inc.php' );

require_once( BX_DIRECTORY_PATH_INC . 'prof.inc.php' );

require_once( BX_DIRECTORY_PATH_INC . 'members.inc.php' );

require_once( BX_DIRECTORY_PATH_INC . 'news.inc.php' );

require_once( BX_DIRECTORY_PATH_INC . 'quotes.inc.php' );

require_once( BX_DIRECTORY_PATH_INC . 'utils.inc.php' );

thats the content of my index.php . . is it posible that the problem is on my hosting server?

Quote · 10 Jul 2008

problem solved my friend! :)

It appears that this is being generated by the code in the ray/modules/global/inc/content.inc.php

then i replaced the content.inc.php with the original file from newly downloaded software. PIKABoom! it was solved. . by the way . . thanks for helping bro. :) two thumbs up to you! :)

Quote · 11 Jul 2008
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.