Jump to content

ajetrumpet

Members
  • Content Count

    96
  • Joined

  • Last visited

Community Reputation

0 Neutral

About ajetrumpet

  • Rank
    Regular Member
  • Birthday 05/26/1980

Profile Information

  • Gender
    Male
  • Location
    Iowa City, IA, USA
  • Age
    39

Recent Profile Visitors

272 profile views
  1. additionally kicken, I think I might have a corrupted file. My query for my report is: $sql = mysqli_query($conn, "SELECT ip , page , CASE WHEN referrer = '' THEN 'N/A' ELSE referrer END as referrer , DATE_FORMAT(date, '%m/%d/%y') as date , TIME_FORMAT(logged, '%T') as time FROM tblTraffic ORDER BY date DESC, time DESC"); and my PHP echo code is: <body> <table border='1'> <tr> <th>VISITOR IP ADDRESS, ISP NAME</th> <th>VISITOR DOMAIN ADDRESS<th> <th>PAGE VISITED</th> <th>DATE</th> <th>TIME</th> </tr> <?php // printing table rows while($row = mysqli_fetch_row($sql)) { echo '<tr>'; foreach ($row as $key => $col) { echo "<td>$col</td>"; } echo '</tr>'; } ?> </table> </body> I attached an image of what I'm seeing as an output. There is an extra column without a header and the data is still being outputted although i'm not querying 6 columns. can you see something wrong with this?
  2. kicken, I ran a test with all of these included: <?php echo "ip - " . $_SERVER['REMOTE_ADDR']; echo "<br>"; echo "gethostbyaddr - " . gethostbyaddr($_SERVER['REMOTE_ADDR']); echo "<br>"; echo "uname - " . php_uname(); echo "<br>"; echo "gethostname() - " . gethostname(); echo "<br>"; echo "HTTP_HOST - " . $_SERVER['HTTP_HOST']; echo "<br>"; echo "SERVER_NAME - " . $_SERVER['SERVER_NAME']; ?> this is really good info and I think I'll use it. one question though: HTTP_HOST and SERVER_NAME return the same result. is there any scenario where they would *not* return the same?
  3. hey guys, in the attached image, i'm logged into another forum I'm part of and I'm looking at the page called "who's online". I have a php traffic report page that, when accessed, echoes out database data that has been stored by way of another php script that captures geoLocation data (ip address of ISP, referrer page, date/time of visit) using PHP global variables. my question is - how does this forum script know the identity of the google spiders? in my traffic report, i am only capturing the ip address of the ISP as the identifying information. from what I understand, it's not possible to capture the actual location of the visitor, only the ISP's location. if I look up the ip address on an ip lookup website, i can see that it is a google spider, but can this be done through PHP scripting?
  4. I DID have a composer.json file, but there was no PHAR file in there. and I'm not technically giving up. This was just a test on a wordpress subdomain because I was interviewing to volunteer at a non-profit and they were running the civiCRM on wordpress. I had never heard of civiCRM so I wanted to experiment with it before I talked to them. They were confused as well, as they didn't get any errors about searching for a bootstrap.php file when they installed theirs. I'm still convinced that GoDaddy is at fault. Man that company sucks! Even the company I interviewed with said they are leaving GoDaddy in the coming months because their technology is not reliable. A great example of GoDaddy's incompetence is this article: https://www.godaddy.com/help/connecting-to-mysql-using-php-216 It was telling customers to use mysql_connect() for years and according to you guys the mysql() functions have been deprecated in PHP for years. Now that article is showing mysqli() functions, but they probably fixed in the last week because I told them to when I was on the phone with them!
  5. hey you guys I'm giving up on this. I'm gonna go with another CRM. don't worry about posting anymore here.
  6. well i googled the hell the out of this my friend and I found composer.exe for windows, but during installation it wants me to select a php.exe to use but i don't have such a thing. perhaps i'm a little too inexperienced to be doing this but this seems to be a little too much trouble to go through for a plugin installation that should be relatively easy.
  7. I browsed thru that article req, but my question was not addressed: https://getcomposer.org/doc/03-cli.md#dump-autoload-dumpautoload-
  8. i will take a look. in the mean time, i noticed in phpinfo() that: allow_url_fopen On On allow_url_include Off Off is this relevant to this situation?
  9. i would not know how to do this. as a serparate file in the 'composer' directory? run this code? composer dump-autoload
  10. i did my best to go thru this checklist. #5 on the list mentions a few things. one is the setting of "open_basedir" in phpinfo(). this has a setting of "no value". i set all directories leading up to "autoload_real.php" to "read, write and execute" permissions, as well as the file itself to the same permissions. but alas, the error persists. based on my original post, which file do you think the error "failed to open stream" is referring to? is it trying to open "bootstrap.php" or "autoload_real.php"?
  11. I am trying to install a wordpress plugin called CiviCRM. I am using the GoDaddy wordpress dashboard to do this. I am getting this error (which is just the first error in a list of several that are appearing): Warning: require(/home/NAME/public_html/wordpress.SITE.com/wp-content/plugins/civicrm/civicrm/vendor/composer/../symfony/polyfill-ctype/bootstrap.php): failed to open stream: No such file or directory in /home/NAME/public_html/wordpress.SITE.com/wp-content/plugins/civicrm/civicrm/vendor/composer/autoload_real.php on line 70 I am looking at the code in file "autoload_real.php" and line 70 reads: require $file; nowhere else in this file is $file defined. the directory "/home/NAME/public_html/wordpress.SITE.com/wp-content/plugins/civicrm/civicrm/vendor/composer/" DOES exist, but the rest of the line "../symfony/polyfill-ctype/bootstrap.php" does not. there are also 3 other errors in eclipse that are indicated and all of those errors are "syntax error: unexpected 'Autoload()'. The 3 different lines of code that throw this error are: 1) self::$loader = $loader = new \Composer\Autoload\ClassLoader(); 2) call_user_func(\Composer\Autoload\ComposerStaticInitdb2000479593e65ef23454e56d74a73f::getInitializer($loader)); 3) $includeFiles = Composer\Autoload\ComposerStaticInitdb2000479593e65ef23454e56d74a73f::$files; I'm not really sure what the issue is, as I'm not experienced enough. Any help from the experts here? GoDaddy claims the problem is with the plugin file's coding.
  12. Berand, I have more records now. It seems to be recording the correct time now. Here are a few new records: 35.167.229.1 /index.php N/A 10/19/19 10:51:48 207.46.13.17 /index.php N/A 10/19/19 09:28:47 166.181.87.1 /index.php N/A 10/19/19 07:53:25 34.222.218.2 /index.php N/A 10/19/19 06:01:51
  13. i'll get back to you guys here when some more traffic comes through. then i will know if this worked.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.