Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have Ubuntu 12.04(32-bit) installed, apache2 [ Server version: Apache/2.2.22 (Ubuntu) ] , mysql[ version : 5.5.31-0ubuntu0.12.04.1 ] , phpmyadmin [Version information:] installed on my system. [No lampp or wampp or anything, just manually)

I have uploaded a website to apache2 (/var/www directory) and it works properly (html sites in in it), except php sections. There I get an error

"Could not execute research area select"

, where research is a main tab of the site.

I have tested a simple test.php site in /var/www/test.php and it works properly.

For this tab to be opened, I went and added an SQL code in phpmyadmin and it should have worked, because it works just fine on another PC, by another person tested(so the SQL code is ok and Im doing something wrong).

In addition, in phpmyadmin I wrote some sql queries and tables are being returned just fine, inside this tab, so the SQL code is OK too, and as I said it must be another problem.

Can anybody help me out with this? I am kinda stuck.

PS(I have edited nothing, no permissions or anything, maybe that is the issue?)

Thanks in advance.

share|improve this question
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.