By summit on
HI,
I am trying to get a site running using debug, to be able to give better handles for pro-programmer to see what's happening. at first I want to debug my bugreport on: http://drupal.org/node/637834
I installed MAMP PRO correctly I think
I installed ECLIPSE and made all needed alterations
I installed Xdebug instead of Zend.
I got the debugging working, but when I debug the drupal site I got:
1) File :///[filename] The site is shown in the internal browser, but without css mark up, and every link gives the following pop up
Page load failed with error: The requested URL was not found on this server
2) Strange errors
PHP Notice: Undefined index: REMOTE_ADDR in /Applications/MAMP/htdocs/includes/bootstrap.inc on line 1197
PHP Stack trace:
PHP 1. {main}() /Applications/MAMP/htdocs/index.php:0
PHP 2. drupal_bootstrap($phase = *uninitialized*) /Applications/MAMP/htdocs/index.php:16
PHP Notice: Undefined index: REMOTE_ADDR in /Applications/MAMP/htdocs/includes/bootstrap.inc on line 1197
PHP Stack trace:
PHP 1. {main}() /Applications/MAMP/htdocs/index.php:0
PHP 2. drupal_bootstrap($phase = *uninitialized*) /Applications/MAMP/htdocs/index.php:16
PHP 3. _drupal_bootstrap($phase = *uninitialized*) /Applications/MAMP/htdocs/includes/bootstrap.inc:993
PHP 4. session_start() /Applications/MAMP/htdocs/includes/bootstrap.inc:1041
PHP 5. sess_read($key = *uninitialized*) /Applications/MAMP/htdocs/includes/session.inc:0
PHP 6. drupal_anonymous_user($session = *uninitialized*) /Applications/MAMP/htdocs/includes/session.inc:27
PHP 7. ip_address() /Applications/MAMP/htdocs/includes/bootstrap.inc:959
PHP 3. _drupal_bootstrap($phase = *uninitialized*) /Applications/MAMP/htdocs/includes/bootstrap.inc:993
PHP 4. ip_address() /Applications/MAMP/htdocs/includes/bootstrap.inc:1031
Can anyone help please?
Thanks a lot in advance!!
Comments
Why..
..So complicated? Drupal is easy to install!
Hi Ludo, It is not about
Hi Ludo,
It is not about installing Drupal, it's about debugging Drupal!
And giving pro-programmers good bugreports, so they can go easier to a solution :)
What could be the issues with my errors please?
Greetings, Martijn
Hmmmm
Hi Martijn,
Maybe, try to see if index.php is set in your apache config as default page, other than that I've no idea how to go about what you're trying to do.
Good luck anyway!
Ludo..
Hi,
Hi,
May be it's the .htaccess file..see: http://drupal.org/node/115215#comment-503491
Researching further..
No, it is not the .htaccess
No, it is not the .htaccess file..
I have in Eclipse in the internal browser constantly
The localhost is missing between // and /, it should be //localhost/Applications/MAMP/htdocs/blablabla I think.
Anyone suggestions how I get the browser output working, so I can get my drupal site to debug
Thanks a lot in advance for your reply!
Greetings,
Martijn
Hi, I got rid of the annoying
Hi,
I got rid of the annoying messages by adding the following to my index.php:
I didn't yet get the first errorissue solved:
The localhost is missing everywhere.. within the output to the browser..
Is this solveble somewhere in eclipse or Drupal?
Hi, I got something working,
Hi,
I got something working, this thread is talking to myself..are so little people bizzy with debugging or am I so stupid.
Anyhow this great tutorial was my rescue: http://groups.drupal.org/node/23937
especially the part about the server settings (step four).
Greetings, Martijn