Make easy money with MEMLOL...

Has anyone figured yet out why my pics are NOT getting linked to the md5 file, but instead to the original file name, thus resulting in not displaying the picture?
 
Grabber works fine on hostgator baby plan, but it didn't work on my old host.

You're host is the problem.

I also have the hostgator baby plan! I have even called hostagtor as mentioned in my post. The cron itself is working, since I am getting an email with all the posts it grabbed, but they are not being posted to my site or database.

The grabber issue doesn't seem to be related to the host, I've tried it using both a hostwinds account and hostgator neither are posting to the site or database. All I get is an email with the posts listed.

I get the same thing.

Having problems with the grabber. I can get it to run, but am getting the following error message in the email notification:

line 1: ?php: No such file or directory
line 3: syntax error near unexpected token `'classes/settings.php''
line 3: `include_once ('classes/settings.php');'


:( Please help if you can.

These 2 crons were "working" for me:

php /home/myusername/public_html/mysite.com/grabber/grabber.php start this one works and was sending me emails. this was in the readme

php -q /home/myusername/public_html/mysite.com/grabber/grabber.php this one works and was sending me emails. this one hostgator said to use

When I say the cron is working, I mean it is sending me an email saying that it grabbed the posts, but I still cannot get them to post to my site or database for posts.

Still no luck, would appreciate some help. my sk ype is brendan4t (: thanks

Sorry, I was away from the computer all day. Looks like you got it worked out though.

im running grabber on godaddy hosting im getting the emails from the cron with this in error any ideas? No valid argv provided

Try either of these:

php /home/myusername/public_html/mysite.com/grabber/grabber.php start this one works and was sending me emails. this was in the readme

php -q /home/myusername/public_html/mysite.com/grabber/grabber.php this one works and was sending me emails. this one hostgator said to use

Who knows how fix grabber ?

It doesn't look like anyone knows how to fix it. It's either working for you or it isn't. I think it's not working for most. Hopefully someone will chime in with some ideas. Here's the grabber.php in case anyone can see an issue with it:

Code:
<?php header('Content-type: text/xml; charset=utf-8'); ?>
<?php echo "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n"; ?>
<?php echo "<rss xmlns:atom=\"http://www.w3.org/2005/Atom\" version=\"2.0\">\r\n"; ?>
<?php
error_reporting(0);
include("xmlparse.php");
include("sitesarray.php");

function p_array($array) {
    echo "<pre>";
    print_r($array);
    echo "</pre>";
}

$forbiddentitles = array(
                         "damnlol",
                         "damnyouautocorrect"
                         );

function format_website($string) {
    if (preg_match("/http:\/\//i",$string)) { 
        $string = str_replace("http://","",$string);
    }
    if (preg_match("/www/i",$string)) { 
        $string = str_replace("www.","",$string);
    }
    if (preg_match("/\//i",$string)) { 
        $string = explode("/",$string);
        $string = $string[0];
    }
    return $string;
}


function get_images($file){
    global $sites;
    $dom = new DOMDocument();
    $dom->loadHTML($file);
    
    // To hold all your links...
    $links = array();
    
    // Get all images
    $imgs = $dom->getElementsByTagName("img");
        foreach($imgs as $img) {
          // Check the src attr of each img
            $src = "";
            $src = $img->getAttribute("src");
            $links[] = $src;
            break;
        }
        return $links;
}

function cleantitle($title) {
    global $forbiddentitles;
    $proceed = "yes";
    foreach ($forbiddentitles as $f) {
        if (preg_match("/$f/i",$title)) {
            $proceed = "no";
            break;
        }
    }
    return ($proceed == "yes") ? true:false;
}

function getExt($img) {
    $str = pathinfo($img);
    $ext = strtolower($str["extension"]);
    if ($ext == "jpg" || $ext == "jpeg" || $ext == "png" || $ext == "gif") {
        return true;
    } else {
        return false;
    }
}

function validateImg($img) {
    if (preg_match("/http:\/\//i",$img) == true && getExt($img) == true) {
        return true;
    } else {
        return false;
    }
}

$domain = format_website($_GET["site"]);

foreach ($sites as $site) {
    $sxml = xml2array($site);
    
    foreach ($sxml["rss"]["channel"]["item"] as $s) {
        $createitem = false;
        $imgvalid = false;
        $imagelink = array();
        $img = "";
        $title = "";
        $link = "";
        $title = $s["title"];
        $link = $s["guid"];
        if ($link == "") {
            $link = $s["link"];
        }
        
        if ($link == "") {
            $link = $domain;
        }
                
                if (isset($s["link"]["1_attr"]["href"])) {
                    $img = $s["link"]["1_attr"]["href"];
                }
    
                if (validateImg($img) == true) {
                    $imgvalid = true;
                }
    
                if (isset($s["content:encoded"])) {
                    if ($imgvalid == false) {
                        $imagelink = get_images($s["content:encoded"]);
                        $img = $imagelink[0];
                    }
                }
    
                if (validateImg($img) == true) {
                    $imgvalid = true;
                }
    
                if (isset($s["description"])) {
                    if ($imgvalid == false) {
                        $imagelink = get_images($s["description"]);
                        $img = $imagelink[0];
                    }
                }
                if (validateImg($img) == true) {
                    $imgvalid = true;
                }
    
                if ($imgvalid == true && $title != "" && $img != "" && cleantitle($title) == true) {
                    $createitem = true;
                }
    
        if ($createitem == true) {
            echo "\r\n\t<item>\r\n";
            echo "\t\t<title>".htmlspecialchars($title)."</title>\r\n";
            echo "\t\t<img>".$img."</img>\r\n";
            echo "\t\t<source>".$link."</source>\r\n";
            echo "\t</item>\r\n\r\n";
        }
    }
    
}
echo "</rss>\r\n";
?>
 
I also have the hostgator baby plan! I have even called hostagtor as mentioned in my post. The cron itself is working, since I am getting an email with all the posts it grabbed, but they are not being posted to my site or database.



152ffbbc73e09da1c8784ef4e28eddbc.png

Do you know how to fix this aswell? :P... Btw, I cannot get adsense on my website
 
I also have the hostgator baby plan! I have even called hostagtor as mentioned in my post. The cron itself is working, since I am getting an email with all the posts it grabbed, but they are not being posted to my site or database.



View attachment 13364

Do you know how to fix this aswell? :P... Btw, I cannot get adsense on my website

I have got EXACTLY the same problem. Do a "rightclick" on those empty images and tell me what are the file names. md5 or non-md5?
 
I'm using godaddy. When I try "php /home/myusername/public_html/mysite.com/grabber/grabber.php start" or "php -q /home/myusername/public_html/mysite.com/grabber/grabber.php", I get an error email saying "/bin/sh: php: command not found".
 
I'm using godaddy. When I try "php /home/myusername/public_html/mysite.com/grabber/grabber.php start" or "php -q /home/myusername/public_html/mysite.com/grabber/grabber.php", I get an error email saying "/bin/sh: php: command not found".

You are changing the "myusername" and "mysitename" to your own, right? Other than that, Call your host and ask them for the correct path you need to run the cron. These are working with hostgator. Still not posting to my site, but I'm not getting any errors from the cron itself.
 
You don't point to /grabber/grabber.php you point to /public_html/grabber.php

You guys don't read instructions correctly, then you've already lost.

It had trouble at first, but follow the instructions to a T, and re-upload from zip via ftp. You will love this script, it's autopilot. You just have to promote site a bit, for substantial revenue.


Everything is working fine on my site. I even tweaked the template, buttons, and added pages. My website is in the list of domains drdankmendez listed
 
You are changing the "myusername" and "mysitename" to your own, right? Other than that, Call your host and ask them for the correct path you need to run the cron. These are working with hostgator. Still not posting to my site, but I'm not getting any errors from the cron itself.

Yeah, I'm changing "myusername" and "mysitename" to my own. I also tried using the "absolute path" for my host and it's still not working.
 
Thanks xibit, I have been afk for a few days, I read through this thread and seen some of the problems people have had and thought to myself "what the fuck"

I'm glad to see that somebody is running the script as it should be run.

Also, the script has been downloaded over 400 times and only about 6 people are having trouble with it, the other 394+ people just can't be bothered to come and post their success... Or hit the thanks button it would seem :p
 
You don't point to /grabber/grabber.php you point to /public_html/grabber.php

You guys don't read instructions correctly, then you've already lost.

It had trouble at first, but follow the instructions to a T, and re-upload from zip via ftp. You will love this script, it's autopilot. You just have to promote site a bit, for substantial revenue.


Everything is working fine on my site. I even tweaked the template, buttons, and added pages. My website is in the list of domains drdankmendez listed

I tried this first, but it doesn't work. I also was very careful to follow the instructions to a "T". After not having success with this method, I must have tried about 20-25 different variations that I found for this cron job command, but none of them worked either.

Btw, I'm using a godaddy windows hosting account. I suck at coding so I have no clue whether this matters or not.
 
Last edited:
You don't point to /grabber/grabber.php you point to /public_html/grabber.php

You guys don't read instructions correctly, then you've already lost.

It had trouble at first, but follow the instructions to a T, and re-upload from zip via ftp. You will love this script, it's autopilot. You just have to promote site a bit, for substantial revenue.


Everything is working fine on my site. I even tweaked the template, buttons, and added pages. My website is in the list of domains drdankmendez listed

I pointed to grabber/grabber.php because that's where my grabber files were located when I installed it. My site is in public_html/mysite, the grabber wasn't just uploaded to public_html. I tried uploading the grabber.php file just to public_html and that didn't work, then uploaded the other 2 files in the grabber folder to public_html and now it's the same thing... I'm getting emails telling me about the posts it grabbed, but they do not show up on my site.
 
Finally got the grabber working and posting to the site with this cron:

php /home/myusername/public_html/mysite/grabber.php start

BUT, now I have another problem. I went through the posts that the grabber posted to the site and removed a few that were semi-nude to avoid problems with adsense, etc and now everytime the cron runs it will only post the images that I just deleted. I deleted 5 posts, then the cron ran and re-posted ONLY the 5 images I deleted. Any ideas on this?
 
Last edited:
does google every penalize you for copying content?

The content on these sites is public domain stuff, it's created by 12 year old kids with too much time on their hands and uploaded with the intent to be shared, so go share... :p
 
Finally got the grabber working and posting to the site with this cron:

php /home/myusername/public_html/mysite/grabber.php start

BUT, now I have another problem. I went through the posts that the grabber posted to the site and removed a few that were semi-nude to avoid problems with adsense, etc and now everytime the cron runs it will only post the images that I just deleted. I deleted 5 posts, then the cron ran and re-posted ONLY the 5 images I deleted. Any ideas on this?

I waited like 15 minutes and ran the cron again, posted 7 posts, 2 new and 5 deleted ones. I'm guessing that the cron is pulling the newest posts from the other sites, and unless they have new
posts to grab from it will just keep trying to use the only posts that aren't duplicates of the ones on my site already. I dunno, I'll wait and see how it works when set to twice a day. I as testing it out on once per minute so I didn't have to wait for the cron to run.
 
Last edited:
Got everything working, but pictures, and adsense

My Grabber.php
php /home/wantlaug/public_html/grabber.php start

Could someone assist me with pictures?aa348d2766257fb70c4ac27db97e55ac.png
 
Here is my cronjob settings in Hosgator, but doesn't work

link here
1.jpg
 
Back
Top