-1
votes
2answers
20 views

“Notice: Undefined offset” Error

I get these errors with WP_DEBUG enabled because of a twitter feed widget: Notice: Undefined offset: 0 in ...
0
votes
0answers
8 views

debugging codeigniter with eclipse and xdebug step by step

Have seen a few posts on Stack Overflow and Internet in general for attaching Xdebugger to Codeigniter project in Eclipse PDT . Have Installed Wamp, Eclipse PDT, and tried following the ...
0
votes
1answer
18 views

PHPMailer, DKIM, and SPF set - Emails still arriving in Junk (PHP)

I am trying to send an activation email from my website to the user. No matter what I do, the email is going straight to the junk folder. I have logged into my cPanel, gone to E-Mail Authentication ...
2
votes
1answer
53 views

How to track variable changes in PHP

Good day. I've been working on project that contains many variables and sessions and where most of the job is done "under the hood" and via ajax. The problem is that I try to debug my project and I ...
0
votes
1answer
24 views

Cant update or add new post/page nothing is working in wordpress

My site was working well last night but now nothing goes well. When I try to update existing page/post or add a new one it returns 505 internal server error and in Chrome it shows PHP code when I try ...
0
votes
1answer
15 views

Getting SQL statment sent to server after script finishes generating it with prepared statments

I'm trying to trouble shoot a problem with a prepared statement using mysqli in PHP. Is there a way to output the query that is actually sent to the server? For example if the WHERE clause to the ...
0
votes
1answer
10 views

Oodle PHP XML request returns nothing

I have found very little documentation on this API so I have came here with the hopes that someone knows how to use this thing. When I try this nothing shows up. For now I am just trying to display ...
0
votes
0answers
24 views

Debug PHP called through Javascript in Aptana

I can debug my PHP scripts using Aptana 3.4. In "Debug Configurations" I simply choose "Use specified script" and when I run that script in Firefox, it automatically breaks in Aptana. Now I'd like to ...
0
votes
0answers
13 views

xdebug is skipping lines while debugging

Using Eclipse/xdebug n Windows 2008 server. Yesterday I was able to successfully debug one php file. Today, with a very similar php file, it is skipping lines and then going off into oblivion. Code ...
0
votes
1answer
30 views

how to get price with ebay API

So I have this code, but the price of the item isn't showing up. Everything else (photo and link) is working. I tried 'currentPrice' but nothing shows up. And this is the Ebay API. I spent about two ...
1
vote
5answers
62 views

PHP function not working properly (echoing a string, simple)

I created a function to allow me to debug PHP scripts so long as a variable ($debug) is set to 1: function debug($msg) { if ($debug == 1) { echo $msg; } else { return false; ...
-2
votes
1answer
59 views

PHP mysql failed [closed]

I've written this code and I do not understand why my select statement doesn't work. This is an assignment for a PHP class, I don't want to be handed the answer, I just need to know what I am doing ...
1
vote
1answer
35 views

Exclude other scripts from debugging in PhpStorm

When I start debugging and use another script on the server (e.g. Adminer), i.e. a script outside the project that is not intended to be debugged, the script is paused by PhpStorm and following two ...
-1
votes
1answer
42 views

Debug Mode: Notice: Undefined index? [closed]

I'm working on flickr (wordpress widget). Here is code: http://pastebin.com/Qu0TCt3c This widget works fine but when i actived the WP DEBUG MODE, I got the following error in wordpress ...
0
votes
0answers
17 views

Zend debugger php5.4 - remote debugging

I cannot seem to make a connection to remote debug server I keep seeing this in the log but no joy. I see it is permission denied but do not understand for what? failed to connect to ZDD on ...
0
votes
1answer
39 views

init model from controller joomla 3.1

I try to call a model from one of my Joomla controller but that doesn't seem to work. class TieraerzteControllerDatatable extends JControllerLegacy { /** * display task * ...
2
votes
1answer
22 views

How to display XDebug errors only to my IP address?

I'm in a non-ideal situation where I have to debug a website a live website running PHP5.4 on a LAMP stack. After enabling XDebug in php.ini and setting display_errors to true, I get nicely formatter ...
0
votes
0answers
60 views

preg_match returns different values for the same match [closed]

This is the code: <?php echo preg_match('/\$/', '$'); If I run it many times, pressin CTRL+F5 on the browser, the output is "1", but sometimes it's "0"!!! I'm running XAMPP 1.8.1 on localhost ...
0
votes
0answers
15 views

PHP library for Django-like error pages

I do enjoy how Django displays error messages on development server. Backtrace, arguments, lines of code, local context, global variables. Now, back on PHP I really miss that feature. All I can get ...
0
votes
1answer
53 views

Zend Framework 2: Debugging Plugin

Relying on PHP's error reporting and backtracing is quite a pain and messages are hard to read at times. Before, I had no choice but to bear with it. Not until I found this ...
0
votes
1answer
36 views

symfony2 - debugbar missing database doctrine info

When I log in to my app the db request bar dissapears? How do I make it show that it always. shows? The screenshot at the top shows the database doctrine count, the one at the bottom doesn't. It ...
2
votes
5answers
94 views

How to debug php code while developing wordpress plugins?

I started developing few WordPress plugins on my own. While developing a plugin i am using different hooks(wp_head, add_shortcode, etc) function in the plugin. Can anyone advice me an easy and ...
0
votes
0answers
38 views

Aptana Studio command line while debugging

Can Aptana Studio 3 run php-cli commands while debugging using its context, like Firebug or Chromium runs commands inside the built-in console command line?
0
votes
5answers
46 views

How to debug UPDATE execution in mysqli driver

I've looked over a lot of posts, but I still can't figure why this simple UPDATE is failing to affect the database: $con = mysqli_connect("localhost", "username", "password", "database"); // check ...
-1
votes
2answers
45 views

Function freezes website [closed]

Any idea why this php function is causing my website to freeze? function makeAgo($timestamp){ $difference = time() - $timestamp; $periods = array("sec", "min", "hr", "day", "week", "month", ...
0
votes
1answer
28 views

PHP print_r large array to variable not working

I'm trying to print_r a large array to a file to debug it. I've tried 2 methods: $arr = get_large_array(); file_put_contents('file.txt', print_r($arr, true)); and $arr = get_large_array(); ...
0
votes
1answer
29 views

how to check (read) crul CURLOPT field of handle? [duplicate]

1) Is there any method to check if CURLOPT field of a curl handle is set and if so then what its value? Reason - I'm writing a class that should recognize if CURLOPT_POST is set. If not then dedicated ...
0
votes
1answer
26 views

How to debug response from external server?

I would like to be able to debug my application when it's receiving response from external server. I'm integrating my application with online payments systems like PayPal and PayU. Payment ...
0
votes
2answers
54 views

Is there a PHP equivalent for Javascript “debugger;” for Xdebug? [closed]

I understand that you can put the GET variable XDEBUG_SESSION_START=1 in the URL to initiate a Xdebug session for that PHP page. However I want to debug a PHP that fires off when a form is submitted. ...
0
votes
2answers
40 views

How to detect where server closed the connection? [duplicate]

There is an error on server side code ( PHP ), I know the file but it's extremely hard to debug as there are no any error messages. All what I see is response header returns: Connection:close. No logs ...

1 2 3 4 5 25
15 30 50 per page