Giter Club home page Giter Club logo

Comments (9)

abemedia avatar abemedia commented on August 16, 2024

Hi Mustafa,
The MySQL info was actually added when I was going to integrate logging of shares over time but the script was completely rewritten in Golang so the new features never got integrated into this version and the MySQL settings can be ignored.
As for the error, what version of PHP are you using?

from sharecount.

mustafastc avatar mustafastc commented on August 16, 2024

The PHP System Default Version on my server is 5.4

@abemedia If the files are correctly installed on my server - (Uploading config.php , shares_count.php, cleanup.php and index.php). Will I be able to produce the same results using:

http://count.mybloggertricks.com/?url=http://google.com
just like it does with:

https://count.donreach.com/?url=http://google.com

Would really need help in installation steps. What values shall i change in config.php?

from sharecount.

abemedia avatar abemedia commented on August 16, 2024

It appears you have an issue with permissions. Please make sure the files are set to 755.

from sharecount.

mustafastc avatar mustafastc commented on August 16, 2024

@abemedia I changed the permission of all files from 644 to 755 but same problem.

Which version of PHP is supported by Donreach?

I just checked my PHP version it is in fact: PHP Version 5.2.17
I changed the php version to 5.4 and the errors stopped. =)

When I visit: http://count.mybloggertricks.com
I get this message

Error: No URL specified.

when I visit: http://count.mybloggertricks.com/?url=http://msn.com

It throws a 403 forbidden error that says:

Forbidden
You don't have permission to access / on this server.

Getting same error even when I change file permissions to 777. Could you please help.

from sharecount.

mustafastc avatar mustafastc commented on August 16, 2024

I was able to run your script on a local host though but I am getting results only for stumbleupon and for not for rest:

processShares({"url":"http://9gag.com","shares":{"total":203014,"facebook":"","twitter":"","google":"","linkedin":"","pinterest":"","stumbleupon":203014,"delicious":0,"reddit":"","buffer":"","vk":""}})

I would really appreciate if you update your script. Looks like it is not updated since a year.

from sharecount.

abemedia avatar abemedia commented on August 16, 2024

Hi, I just cloned the script as it is (changing no configuration values) and it worked on my box running PHP 5.5.9-1ubuntu4.13 without any problems. I can only assume it's an issue with your server.

from sharecount.

mustafastc avatar mustafastc commented on August 16, 2024

Hi abemedia, Thank you for the response. The problem was surely with my webserver. I have made some modifications to the script and we will share it soon with our blog readers by attributing the credits to Donreach. Thank you for this awesome script

from sharecount.

mustafastc avatar mustafastc commented on August 16, 2024

FINALLY WORKED AT : http://shares.ahmedzai.com/?url=http://9gag.com

The reason was that MOD security was blocking it. After white listing it, the script worked! :)

I have written a detailed tutorial on how to self upload the scripts in this blog post:
http://www.mybloggertricks.com/2016/02/jumbo-share-counters-plugin.html

from sharecount.

abemedia avatar abemedia commented on August 16, 2024

Excellent, I'm glad you got it working!

from sharecount.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.