Posts Tagged ‘error’

Wordpress WassUp Error

Monday, April 7th, 2008

I’ve upgraded the wassup plugin to the latest version ( 1.5 ) and an error started to show in the pages:

[ wp_wassup_tmp' doesn't exist ]

The solution is to deactivate the plugin and then reactivate it… witch should be the right way to upgrade your plugins.

Update:

I also get a syntax error from the wassup plugin, on the dashboard:

WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND 1207656596' at line 1]
SELECT COUNT(DISTINCT wassup_id) AS itemstot FROM wp_wassup WHERE wassup_id IS NOT NULL AND timestamp BETWEEN AND 1207656596

It seems that the errore comes from a debug query that was left in the wassupDashChart() function. To fix the error you need to comment two lines (1631,1632) of code in wassup.php:

  1.  
  2. // This is the function to print out a chart’s preview in the dashboard
  3. function wassupDashChart() {
  4. global $wpdb;
  5. $table_name = $wpdb->prefix . "wassup";
  6. $to_date = wassup_get_time();
  7. $Chart = New MainItems;
  8. $Chart->tableName = $table_name;
  9. $Chart->to_date = $to_date;
  10.  
  11. //$itemstot = $Chart->calc_tot("count", $search, null, "DISTINCT");
  12. //print $itemstot;
  13.  
  14. echo ‘<h3>WassUp Stats <cite><a href="admin.php?page=wassup">More &amp;raquo;</a></cite></h3>’;
  15. echo $Chart->TheChart(1, "400", "125", "", $wassup_options->wassup_chart_type, "bg,s,00000000", "dashboard", "left");
  16. } //end function wassupDashChart
  17.  

qmake error: sible braces mismatch %s:%d

Friday, July 27th, 2007

I’ve just received this error with qmake on windows. Googling for it showed no results so after i’ve solved the problem i decided to put it here.
(more…)

ASP.NET 2.0 and SQLServer 2000 Transactions

Wednesday, June 27th, 2007

The new ADO.NET 2.0 and it’s typed datasets and table adapters are very useful tools for creating a DAL in you application. Still when working with SQLServer 2000 implementing transactions is a bit tricky. (more…)

KDevelop - KDevTrollProject Problem

Saturday, March 17th, 2007

After updating kde to 3.5.6 and kdevelop to 3.4.0_1 ( around 15.03.2007 ) kdevelop failed to open qmake based projects. The error was “Error creating project management plugin KDevTrollProject”. (more…)

Qt4 Synchronous HTTP Request

Wednesday, November 8th, 2006

Problem

Creating a wrapper over QHttp that can perform GET and POST requests in a synchronous way.

(more…)

Web application security flows

Thursday, October 12th, 2006

Here goes… my first security related post :)

Intro

First i must say that this will not be a way to prove that your application is secure, it will only be a quick & dirty way of finding common bugs in web applications. The following will be a few techniques that i tend to use the first time i see an web application ( and generally a database application ). I will use PHP for the few code examples but the vulnerabilities presented are not limited to PHP, in fact are independent of the server-side programming language used.

(more…)