Hey, I have a major issue. I just moved my databaes ( fully restored via ssh) and credits_transaction table is missing so i cannot enable vbCredit, tried running installer again to fix it but that didn't work, got a solution for me?
I'd suggest creating the table and then recalculating/counting the credits, though this will 'reset' everything. Other than extracting the data from a backup of your database, I don't see another solution.
After some extensive profiling with the help of mokonzi, I think I've ironed out the query causing all the lag. You'll have to run this query:
Code:
ALTER TABLE `credits_transaction` ADD INDEX (`status` , `userid` , `timestamp`)
Be sure to add your table prefix if using one.
Give it a couple minutes, and see if the CPU load and/or rendering speed of your site has improved.
Let me know!
That link isn't working now, and I suddenly had issue with my secondary currency failing to work with vbookie creating a new event. this was without any other changes updates or additions. I am unsure if the server has had any updates that might have affected this. Has this Fix been integrated into the current install file ? or is there a new release that is coming soon ?
That link isn't working now, and I suddenly had issue with my secondary currency failing to work with vbookie creating a new event. this was without any other changes updates or additions. I am unsure if the server has had any updates that might have affected this. Has this Fix been integrated into the current install file ? or is there a new release that is coming soon ?
the link above the the post with the link contains the query you need to run.
it hasnt been put into the customer version, because i havent figured out a decent way to selectively apply such a query (it builds a new index), since i dont want to be needlessly reapplying that for every upgrade, but if you are affected by it you can apply it manually right away.