Hi this is scorpionz.. i am facing a problem for the last 2 days
Description:
I have a project with path
c:/xampp/htdocs/mysite
and in root i am making a database connection file with the name
c:/xampp/htdocs/mysite/config.php
Thats my configuration file name to connect with db.
I have a folder in root of drupal with the file inside i.e:
c:/xampp/htdocs/mysite/myfolder/testpage.php
The testpage.php consists of some queries drupal built in like db_quey()... etc
I stat getting this error "Unsupported operand types" .. and i don't know how to fix it.. i heard it has something to do with php version ? i use PHP5..
any suggestions will be appreciated.
Thanks in advance,
American Pro Moving and Storage
My problem :
I created one separate table. Then i want to insert data in that table by using xxx.php file.
The insert query presented in the xxx.php file.
I Called that file using ajax from page.tpl.php file...
here the file called SUCCESSFULLY, but it returned the error named as "Fatal error: Call to undefined function db_query()"..
This is the query presented in that file....
$query="insert into page_ajax set sname='$name'";
db_query($query);
Hi, I'm pretty new to Drupal. I've built a site that I want to be able to upload to the database using an FTP through another software package (LabVIEW). I have 2 issues:
I'm starting my site and it writes Site off-line and:
The mysql error was: Access denied for user 'correctusername'@'localhost' (using password: YES).
Then most interesting thing happens: when i go to see what is wrong with the DB with myPHPadmin, everything magically becomes OK, website is working! Then i'm working with my site, then i visit it next day - Site offline again!
Maybe this is some trouble with settings.php, ive set rights to 664.