reptiguy1
Forum Replies Created
-
OK, I’ve just done a restore from a recent db backup and everything works as expected. It’s just my most recent db which shows this error. I think it has something to do with when I was trying to load the facebook login div using on mouseover and then doing the same for the onlick action.
Where can I look on the database to fix this error?
Thanks
Forum: Plugins
In reply to: How add captcha to social login/buddypresshelp !!
Forum: Plugins
In reply to: How add captcha to social login/buddypressbump
Forum: Plugins
In reply to: Cookiless domain problemFixed it by setting COOKIE_DOMAIN in wp_config.php and the Site Address (URL) text box in general settings to:
http://domainname.com (without the www prefix)
It doesn’t look as good in the address bar without it but it’ll do for now.
Forum: Plugins
In reply to: Cookiless domain problemI’ve sorted the static content now without making adjustments to the code. This article explains it a bit better:
https://surpriseazwebservices.com/serve-images-from-sub-domain-in-wordpress/
But I’m still having the issue with not being able to log on.
Some help please?
Forum: Plugins
In reply to: Buddypress problem getting ids of online usersSolved
Forum: Hacks
In reply to: Prevent redirect in register page when user is logged inSolved thanks!
Forum: Networking WordPress
In reply to: Cookiless DomainI’ve tried to fix this since my last comment. I’ve switched back to single site mode and it works fine so I’m just marking this post as solved even though it isn’t 😉
Forum: Hacks
In reply to: Prevent redirect in register page when user is logged in@bcworkz thanks I will try wamp first. I might try it some time this week actually.
Forum: Hacks
In reply to: Prevent redirect in register page when user is logged in@4lRossMitchell. Thanks, I’ll keep that in mind. Probably won’t happen until after site is launched as will need alternative platform to test site updates.
Forum: Hacks
In reply to: Prevent redirect in register page when user is logged inHi bcworkz, thanks again for your detailed reply. My laptop uses windows 8. I’ve only just got started on Ubuntu on my VPS. I’m far from expert. I use netbeans to upload files as I’m working on them and sql server connects to the database using a mysql plugin. I’m trying to get a flash games site up and going. It’s pretty much almost done from the back-end development side so I probably won’t try and install ubuntu on the laptop. I will take a look at WAMP and CygWin but I think it probably will be too slow. I already have a SSD and visual studio wasn’t the quickest so I’m not really expecting too much. I suppose it could come in handy if I get really stuck where breakpoints in code would be handy. I dread setting up computers so will put off installing a linux computer. I’m impressed with the Ubuntu OS though. It’s very fast not too difficult to get a website up and running with online tutorials.
Forum: Hacks
In reply to: Prevent redirect in register page when user is logged inYeah, I miss having a local testing environment as I had in visual studio previously, when I was developing a asp.net site.
I might try and install a php virtual environment if it’s not too difficult. Do you have any advise on how to set it up? The’re not too slow are they as my laptop is mid range only at best?
Thanks for sharing your thought processes for debugging. As usual it’s looks so easy when you find where the code is you wonder why you didn’t look there lol. I had looked at the login file as that’s the first point of contact for the form but it’s such a large script I gave up in the end as that code could have been anywhere. It never occured to me to look for the $_REQUEST variable or any other such like. I will remember that from now on whenever I debug form pages.
Forum: Hacks
In reply to: Prevent redirect in register page when user is logged inHi bcworkz, thanks for your great reply!
I’ve changed the functionality back now about displaying user_login and allowing users to change them as it’s too akward to do and could easily break in future updates.
I only edit code in the themes folder and bp_custom.php file. I never new about child themes, I will look into that.
How may I ask do you look for code when code is submitted? I’ve tried to use debug_backtrace to output the call stack when code gets executed but it’s useless really, or maybe I’m not using it right. I upload all my files onto the remote server (ubuntu vps) so do not have a local development environment where I could possibly add breakpoints in the code. I’m using netbeans for my ide which I quite lke 🙂
Forum: Hacks
In reply to: Prevent redirect in register page when user is logged inThanks zubee but I want to stop the page being redirected, not add another redirect on top.
There’s no need to redirect the register page in this instance as wp automatically redirects users to the homepage from the register page if they are logged in by default.
I’m trying to find this block of code and remove it.
Forum: Networking WordPress
In reply to: Cookiless DomainI’m trying to create a cookieless domain for static content so that fewer queries are sent to the server. As I said I got it working on the single site and it’s super, super fast now! I recommend you try it out. Here’s the tutorial I used:
For creating the subdomain, I just did it on godaddy as I do not have cpanel. Test your site on http://tools.pingdom.com/fpt/ to check if you got it running properly.
If anyone knows how to get this working on multisite please post here.