Quantcast
Browsing all 5527 articles
Browse latest View live

chrismillard on "Getting data from custom MySQL table"

On the same website where I host my Wordpress site, I have a separate custom MySQL database that has some race results. I have a PHP page that runs a query on the MySQL database, and returns the...

View Article


leejosepho on "One VPS, seven blogs: what is better, one or many MySQL...

wordpress plugin and themes are, in general, tested more in single installs than in multisite ones, so... I do not know whether that is true, but we still have the matter of whether and/or how well one...

View Article


robertkay on "[Plugin: Events Manager] wpdberror on event save"

Hi, When I can call save on the EM_Event below I get the following message. Is it just that I haven't filled in a bunch of fields yet or something more sinister? I have filed in all the fields related...

View Article

linux4me2 on "Getting data from custom MySQL table"

It sounds like you are on the right track. If you're not getting any PHP errors, there are a couple of things you can check. First, try echoing your parsed parameters to make sure they are getting...

View Article

chrismillard on "Getting data from custom MySQL table"

I'm already echoing the full query and it looks OK. However, I haven't been using the $wpdb object at all - I have never used it so will have to read up on it. I assume that you HAVE to use the $wpdb...

View Article


linux4me2 on "Getting data from custom MySQL table"

I didn't think your query would show the variables since you are presumably using PDO and binding parameters for security reasons. No, I don't think you have to use the $wpdb object. I don't see why...

View Article

chrismillard on "Getting data from custom MySQL table"

Tried using $wpdb and it is working perfectly now. Thanks

View Article

leejosepho on "WordPress data not being stored in db?"

I am just having some difficulty understanding the importance of linking to a database if only the settings are stored by the database. Maybe take a look here and see at least the default info stored...

View Article


Randy Sandberg on "How to install locally with remote database"

This is funny. I just commented to another user on the forum that, like Go Daddy, not all hosts work with the default database localhost argument and that they may need to check with their host to see...

View Article


angelo on "[Plugin: Events Manager] wpdberror on event save"

hmm, would it be possible to share your code on how do you call the event save for us to check?

View Article

kshah on "WordPress data not being stored in db?"

That makes sense--thanks!

View Article

dwighttttt on "[Plugin: Wordfence Security] MysqlError: Duplicate column name...

This is happening again for me with 6.0.7, except a variation of the last error (column 'permanent' rather than 'id'). Same solution fixed the issue but figured I'd post it in case it was a bug. Error...

View Article

robertkay on "[Plugin: Events Manager] wpdberror on event save"

OK, here it is. It's an importer from another db - only a one off so not the tidiest... DB/url details have been removed. I'm looking at it now and wondering if it's because of how I've included...

View Article


angelo on "[Plugin: Events Manager] wpdberror on event save"

hmm, maybe you can check this line $EM_Event->location_id=$venue_id; and make sure that only numbers are allowed.

View Article

robertkay on "[Plugin: Events Manager] wpdberror on event save"

Thanks for your response. You're right, it was a string not an int - of the number 2. However I used intval to make it an int (and also tried an integer value) and it still generates exactly the same...

View Article


rkwynn on "[Plugin: Mail Subscribe List] Error message appears on page"

I get this message on my page: : mysql_query(): No such file or directory in on line : mysql_query(): A link to the server could not be established in on line : mysql_num_rows() expects parameter 1 to...

View Article

robertkay on "[Plugin: Events Manager] wpdberror on event save"

Interesting... It created the event just fine and even inputted the correct location_id (2) from the string I originally sent it (didn't need it converted to int). But EM_location object is totally...

View Article


rkwynn on "[Plugin: Mail Subscribe List] Error message appears on page"

Nevermind found this by murphy.wong you need to update the sml.php file as below: /* $exists = mysql_query("SELECT * FROM ".$wpdb->prefix."sml where sml_email like '".$wpdb->escape($email)."'...

View Article

mrbkr86 on "query excerpt causing MySQL"

Hello all from last few weeks my website was very slow and after few days my hosting provider have suspended my hosting. They told me that "It was quite a bit worse this time - the queries were backed...

View Article

laliz on "query excerpt causing MySQL"

try this solution http://dba.stackexchange.com/questions/7806/copying-to-tmp-table-extremely-slow

View Article
Browsing all 5527 articles
Browse latest View live