Forum Replies Created

Viewing 15 replies - 481 through 495 (of 574 total)
  • Thread Starter Bloke

    (@bloke)

    I solved it by going through all the options again and I changed under Realm section. Unchecked “Apply Roles and Restrictions for : Viewing content (front-end).

    Forum: Fixing WordPress
    In reply to: IP address denied
    Thread Starter Bloke

    (@bloke)

    The IP they said was blocked was my computer’s IP which I assume is static it never changes. Everyone else could view the site.

    Forum: Fixing WordPress
    In reply to: IP address denied
    Thread Starter Bloke

    (@bloke)

    Maybe Bluehost got so many attack attempts thy blocked everyone’s IP that use WordPress because they unblocked me as soon as I asked them. I asked Bluehost and they couldn’t tell me anymore details of my specific case. Just that my IP was blocked because its was part of an attack on our servers. So what is to stop this again? I have checked with all you WordPress experts and I contacted my hosting company. I scanned my computers for any virus. Updated the few plugins I have. Current WP. My user name was not “admin” which the recent attack was targeted against.

    Forum: Fixing WordPress
    In reply to: IP address denied
    Thread Starter Bloke

    (@bloke)

    But I don’t think my website was hacked. It was reporting my IP address was blocked. I could view my site from another IP address. My local site is behind a firewall.

    Forum: Fixing WordPress
    In reply to: IP address denied
    Thread Starter Bloke

    (@bloke)

    Read this post on link below. These two users were using Bluehost. Similar problem and not real virus. But their WordPress files were changed. So this would be a WordPress issue because no one at Blue host told me to search specific files or folders. But I didn’t have this in my files either.
    http://wordpress.org/support/topic/access-denied-your-ip-address-127001-is-blacklisted-if-you-feel-this-is

    Forum: Fixing WordPress
    In reply to: IP address denied
    Thread Starter Bloke

    (@bloke)

    Brighthouse/Earthink is my ISP. It was my local computer they say not anything hosted anywhere.

    “This means that your computer was hacked and used by the hackers as part of this attack. Please use an antivirus program to scan your computer for the virus which caused this problem.”

    But if no virus is found then what do I do? I figured this is the best place to ask because the ISP is not a WordPress expert.

    Forum: Fixing WordPress
    In reply to: IP address denied
    Thread Starter Bloke

    (@bloke)

    I have scanned my PC thoroughly with Spybot and Norton and nothing was found. Where else can I look? I read that some of these attacks leave files or make changed to your WP files. Its hard to know what to fix if I don’t know what to look for.

    Forum: Fixing WordPress
    In reply to: IP address denied
    Thread Starter Bloke

    (@bloke)

    Yes I did all that before contacting the hosting company.

    Thread Starter Bloke

    (@bloke)

    Problem solved. My Windows Temp folder didn’t have the correct permissions.

    Forum: Hacks
    In reply to: Help saving values from form
    Thread Starter Bloke

    (@bloke)

    Yes it is very confusing. also there is the WordPress side of things and then the PHP side. So when I post on PHP forums they don’t know WordPress. Also I can’t post every file on here. I am able to narrow down what I need to change. Such as when I edited the payment gateway. There is a folder for the gateways. I used Dreamweaver to search all the code for references to what I am looking for. Some parts are commented and some are not. I have put so much time into it I wouldn’t want to just buy another cart and start over. Because the cart is 99% of the website layout and functionality. Also all the products and images.

    I am try to solve issues one piece at a time. Currently am just trying to see how it saves data to the customers table. Because I want to record the transaction ID there.

    Forum: Hacks
    In reply to: Help saving values from form
    Thread Starter Bloke

    (@bloke)

    Using a search there are no other references to the purchase or ip fields. I removed “none” from the table in the database because that was causing an issue.

    Now if I change this :
    $Purchase->ip = $Mycart->Shopping->ip;

    to this:

    $Purchase->ip = ‘12341’;

    It saves that value.

    If I try to add profid and add :
    $Purchase->profid = ‘1234’;
    it won’t save to the database.

    Forum: Hacks
    In reply to: Help saving values from form
    Thread Starter Bloke

    (@bloke)

    I created a new column to see what it would do. Then check out would not process with the new column in the database table. So I need to find where or how it checks the names of the columns. I figured I found where it records the users IP address. So I copied that line changed it using a hard coded value like 1234 to see if that would work.

    Forum: Hacks
    In reply to: Help saving values from form
    Thread Starter Bloke

    (@bloke)

    I found this in the DB (database) class. Is it taking that array of information and inserting to the database?

    /**
    	 * Gets data from the session data table and loads Member
    	 * objects into the User from the loaded data.
    	 *
    	 * @return boolean
    	 **/
    	function load ($id) {
    		$db = &DB::get();
    
    		if (is_robot() || empty($this->session)) return true;
    
    		$loaded = false;
    
    		$query = "SELECT * FROM $this->_table WHERE session='$this->session'";
    		if ($result = $db->query($query)) {
    			if (substr($result->data,0,1) == "!") {
    				$key = $_COOKIE[MYCART_SECURE_KEY];
    				if (empty($key) && !is_mycart_secure())
    					mycart_redirect(force_ssl(raw_request_url(),true));
    				$readable = $db->query("SELECT AES_DECRYPT('".
    										mysql_real_escape_string(
    											base64_decode(
    												substr($result->data,1)
    											)
    										)."','$key') AS data");
    				$result->data = $readable->data;
    			}
    			$this->ip = $result->ip;
    			$this->data = unserialize($result->data);
    			$this->created = mktimestamp($result->created);
    			$this->modified = mktimestamp($result->modified);
    			$loaded = true;
    
    			do_action('mycart_session_loaded');
    		} else {
    			if (!empty($this->session))
    				$db->query("INSERT INTO $this->_table (session, ip, data, created, modified)
    							VALUES ('$this->session','$this->ip','',now(),now())");
    		}
    		do_action('mycart_session_load');
    
    		// Read standard session data
    		if (@file_exists("$this->path/sess_$id"))
    			return (string) @file_get_contents("$this->path/sess_$id");
    
    		return $loaded;
    	}

    Forum: Hacks
    In reply to: Help saving values from form
    Thread Starter Bloke

    (@bloke)

    Yes I did that its posted above on the last line. For the value of “company” they have
    <span><?php mycart('checkout','company','size=22&title='.__('Company/Organization','Mycart')); ?><label for="company"><?php _e('Company Organization','Mycart'); ?></label></span>

    Then on this file there is a function with many switch statements.

    case "company":
    				if ($options['mode'] == "value") return $this->Customer->company;
    				if (!empty($this->Customer->company))
    					$options['value'] = $this->Customer->company;
    				return '<input type="text" name="company" id="company" '.inputattrs($options).' />';
    				break;

    Forum: Hacks
    In reply to: Help saving values from form
    Thread Starter Bloke

    (@bloke)

    Thanks. With Dreamweaver I have searched every file for any reference to these values to see if I can find how its done. What do you recommend looking for? I found a DB class and looked through that. There are classes for order, checkout, purchase, customer. Plus many more. thee are alot of functions like above that seem to export. Not sure why because in the admin there is no export functionality. Seems they copy data from one table to move to another.

Viewing 15 replies - 481 through 495 (of 574 total)