Also, when I create the database, it creates two different ones:
The first set, which is empty even after I add media types and entries:
mytreasures
mytreasures_images
mytreasures_links
mytreasures_options
mytreasures_type
The second set, which is updated with all of the new media types and entries I make:
wp_mytreasures
wp_mytreasures_images
wp_mytreasures_links
wp_mytreasures_options
wp_mytreasures_type
My guess is that maybe, just maybe, the plugin is trying to calling up the first set, which is empty, when it should be calling up the wp_ set, which is where the information is stored.
Hello!
This sounds very strange, did you tried / installed an old version of myTreasures? The tables without prefix (wp_) are from old versions, the new versions users the prefix.
Please download the newest version of mytreasures, but first of all delete all mytreasures_ tables from the mysql DB.
Greetz
Marcus
Thanks so much for your help, Marcus. I appreciate it tons. 🙂
I just downloaded the most recent mytreasures from the wordpress plugin page, version 1.0.5.
When I started out, my database looked like this:
http://img46.imageshack.us/my.php?image=mytreasures1jm5.gif
So I know it was clean of any mytreasures databases.
But when I activated the plugin, it again created the mytreasures tables and the wp_mytreasures tables:
http://img266.imageshack.us/my.php?image=mytreasures2pn8.gif
Just to see what would happen, I went to ‘Add Single’ and added a test entry to the Dummy media type that comes as default with the installation. It added successfully and I created a test page where I added the [mydummytreasures] code. But again the page is empty- nothing is listed.
Hmmm very strange behaviour!
Where did the plugin put the data into? The tables with prefix or without?
All of the information is going into the tables with the wp_ prefix. I don’t know if there being two tables created for each thing is causing some sort of conflict that is making it so nothing shows up when I insert the code. I tried deleting all of the mytreasures tables and keeping just the ones with the wp_ prefix, but the data is still not showing on my actual WordPress pages/
Hmm please contact me via eMail (contact @ ‘my username’ .de) … need more information on this topic!
I could reproduce your problems and fixed it with the 1.0.6 release. Some trouble with prefix handling. Tested it with a brand new blog system and works like a charm … please test it 🙂
I went through and deleted all of the mytreasures files, including the old databases. I did a clean reinstallation of everything. When I first activated the plugin, on the plugins page, I got this error:
Warning: preg_match() [function.preg-match]: Empty regular expression in /home/.gracious/morbidromantic/morbid-romantic.net/wp-content/plugins/mytreasures/mytreasures.php on line 1001
Warning: preg_match() [function.preg-match]: Empty regular expression in /home/.gracious/morbidromantic/morbid-romantic.net/wp-content/plugins/mytreasures/mytreasures.php on line 1001
Warning: preg_match() [function.preg-match]: Empty regular expression in /home/.gracious/morbidromantic/morbid-romantic.net/wp-content/plugins/mytreasures/mytreasures.php on line 1001
But once I went to the mytreasures tab, the error disappeared and didn’t come back when I revisited my plugins page. So, I guess something cleared it up and it wasn’t a big deal. 🙂
Unfortunately, I am still getting empty pages when I add the code. I even added a new media type and put a test single entry into it. All the same, none of my entries show up. I am beginning to think that something must be wrong with my server or something since the script works fine for so many but me. So, that might be it.
Please post your server config, this behaviour is very strange
Hello!
Please download this Dev Version:
http://downloads.wordpress.org/plugin/mytreasures.zip
If you still got problems, please use the Help / Support formular inside of myTreasures 😉