johnn22
Forum Replies Created
-
Forum: Hacks
In reply to: Sharing some tables between 2 different websites based on the same databaseHello,
Thank you for your answer, that would be great. I would appreciate a lot if your friend can find a solution for this issue.
Forum: Hacks
In reply to: Sharing some tables between 2 different websites based on the same databaseHello,
Thank you for your answer, a network might be a way to do it, but I already created the 2 websites and it would take a lot of work to map the domains, move the other website etc.
I am looking for a simpler way to force wordpress to use “wp1_posts” instead of “wp2_posts” table. I will probably do the network if I don’t find any other solution.
Forum: Hacks
In reply to: Sharing some tables between 2 different websites based on the same databaseHello,
Thank you for your answer, but I don’t think a network is a good solution for me.
If you plan on creating sites that are strongly interconnected, that share data, or share users, then a multisite network might not be the best solution.
Quote from here: http://codex.ww.wp.xz.cn/Before_You_Create_A_Network
Forum: Plugins
In reply to: [Membership 2] 2 websites, same user databaseHello Kasia,
Thank you for the answers. That line was present twice in that file and I replaced it both times. The plug-in works fine now.
Have a great day!
Forum: Plugins
In reply to: [Membership 2] PayPal sandbox error Message 3005Hello Predrag,
I have solved the problem now. I was using my live account as the seller but a sandboxed account as the buyer. Thank you for the advice, Predrag, I have no experience using PayPal sandbox and you gave me the answer I needed.
Have a great day!
Forum: Plugins
In reply to: [Membership 2] 2 websites, same user databaseThe problem is still there, can you please help me fix it?
Forum: Plugins
In reply to: [Membership 2] 2 websites, same user databaseHello,
I have Membership 2 version 4.0.0.7 installed on both websites. At the moment I only registered test users, and when I upgrade the users to the Premium level (for which users normally have to pay) in the “Add Member” tab from Membership 2, I get this error:
Fatal Error: Uncaught exception 'Exception' with message 'You cannot register a new account, because you are already logged in.' in /home/watchcou/public_html/watchcoursesregistration.ga/wp-content/plugins/membership/app/model/class-ms-model-member.php:989 Stack trace: #0 /home/watchcou/public_html/watchcoursesregistration.ga/wp-content/plugins/membership/app/model/class-ms-model-member.php(939): MS_Model_Member->create_new_user() #1 /home/watchcou/public_html/watchcoursesregistration.ga/wp-content/plugins/membership/app/controller/class-ms-controller-member.php(368): MS_Model_Member->save() #2 [internal function]: MS_Controller_Member->members_admin_page_process_editor('') #3 /home/watchcou/public_html/watchcoursesregistration.ga/wp-includes/plugin.php(525): call_user_func_array(Array, Array) #4 /home/watchcou/public_html/watchcoursesregistration.ga/wp-admin/admin.php(226): do_action('load-membership...') #5 {main} thrown in /home/watchcou/public_html/watchcoursesregistration.ga/wp-content/plugins/membership/app/model/class-ms-model-member.php on line 989EVen if the error is there, the test users are upgraded to the Premium level, but they don’t appear in any MySQL table. Even if I have 2 members with with active Premium membership, all the _m_ tables are empty. Here are some screenshots:
http://i.imgur.com/8yNarmq.png
http://i.imgur.com/rMQ2fPP.pngForum: Fixing WordPress
In reply to: Redirected Site; Now can't access old oneFirst, you have to change the DNS settings to point back to your old website, then you have to set-up a .htaccess 301 redirect. If you know how to edit the .htaccess file, then look here to see how you should set up the redirect: http://stackoverflow.com/questions/16728812/301-redirect-for-all-pages-to-new-site-except-1-directory