Search the Community
Showing results for tags 'stack'.
-
Hi All, I am new to this forum and also to PHP programming, i am fixing a PHP based website build in 2012 by another developer. (No technical documentation) I have this http://creativecontent.my/controllers/public/index.php for me to display my frontpage. UNFORTUNATELY, it just show me blank page. Now i do a Virtual Machine to test the website before i do a publish, but i got into trouble with this. Error_Log i got from local server is:- /var/www/html/controllers/public/.htaccess: Options not allowed here [error] [client xxxxxxxx] PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in /var/www/html/controllers/controllers.php on line 13 [error] [client xxxxxx] PHP Stack trace: [error] [client xxxxxx] PHP 1. {main}() /var/www/html/controllers/public/index.php:0 [error] [client xxxxxxx] PHP 2. require() /var/www/html/controllers/public/index.php:6 [error] [client xxxxxxxx] PHP Fatal error: Call to undefined function display_page_title() in /var/www/html/configs/connections.php on line 41 [error] [client xxxxx] PHP Stack trace: [error] [client xxxxx] PHP 1. {main}() /var/www/html/controllers/public/index.php:0 [error] [client xxxxx] PHP 2. require() /var/www/html/controllers/public/index.php:6 [error] [client xxxxx] PHP 3. include() /var/www/html/controllers/controllers.php:158 ------------------------------------------------------------------------------------- /var/www/html/controllers/public/.htaccess: Options not allowed here I have rename the file to avoid these error and i got others error. controllers.php on line 13 [syntax=php]set_magic_quotes_runtime(0); // Disable magic_quotes_runtime[/syntax] connections.php on line 41 [syntax=php]$configs['page_title'] = display_page_title();[/syntax] Please help, the website should be looking like this http://creativecontent.my Thanks in advance for any help.
- 1 reply
-
- error deprecated
- stack
-
(and 1 more)
Tagged with:
-
Hello everybody. First: Sory for my english. I'm searching a way to know wich lines of files are executed in all the request... Or something like that. Example: If we have this code: line 01: <?php line 02: function foo(){ line 03: echo 'Hello'; line 04: return false; line 05: } line 06: line 07: echo 'We are testing'; line 08: foo(); line 09: echo 'end of script'; line 10: ?> I need get the lines and the files executeds... For example, a log-file with this information: file index.php lines executeds: 07, 08, 02, 03, 04, 09, 10 Or something like that... I don't know... Anybody can help me? Tnks! Noel