Git Product home page Git Product logo

Comments (18)

lanceseidman avatar lanceseidman commented on August 24, 2024

You could and just type "sudo rm -rf /var/www/picast" OR just edit the installer and comment everything BUT the MySQL part and re-run the script.

But what you see is technically OK. Because if you type http://localhost/picast in any browser, should show everything, right? If yes, should be good to go...

from picast.

InfernoZeus avatar InfernoZeus commented on August 24, 2024

For a safer option, use sudo mv /var/www/picast /var/www/picast.orig,
just in case there's anything in /var/www/picast you don't want deleted/

On Thu, Aug 8, 2013 at 10:55 AM, lanceseidman [email protected]:

You could and just type "sudo rm -rf /var/www/picast" OR just edit the
installer and comment everything BUT the MySQL part and re-run the script.

But what you see is technically OK. Because if you type
http://localhost/picast in any browser, should show everything, right? If
yes, should be good to go...


Reply to this email directly or view it on GitHubhttps://github.com//issues/8#issuecomment-22310761
.

from picast.

balajivp avatar balajivp commented on August 24, 2024

thanks for the reply. I will try as suggested and come back.
On Aug 8, 2013 9:00 PM, "Ben Fox-Moore" [email protected] wrote:

For a safer option, use sudo mv /var/www/picast /var/www/picast.orig,
just in case there's anything in /var/www/picast you don't want deleted/

On Thu, Aug 8, 2013 at 10:55 AM, lanceseidman [email protected]:

You could and just type "sudo rm -rf /var/www/picast" OR just edit the
installer and comment everything BUT the MySQL part and re-run the
script.

But what you see is technically OK. Because if you type
http://localhost/picast in any browser, should show everything, right?
If
yes, should be good to go...


Reply to this email directly or view it on GitHub<
https://github.com/lanceseidman/PiCAST/issues/8#issuecomment-22310761>
.


Reply to this email directly or view it on GitHubhttps://github.com//issues/8#issuecomment-22310974
.

from picast.

balajivp avatar balajivp commented on August 24, 2024

when I go localhost/PiCAST ... I get to see the files as show in
attachment.
On Aug 8, 2013 9:04 PM, "Balaji VP" [email protected] wrote:

thanks for the reply. I will try as suggested and come back.
On Aug 8, 2013 9:00 PM, "Ben Fox-Moore" [email protected] wrote:

For a safer option, use sudo mv /var/www/picast /var/www/picast.orig,
just in case there's anything in /var/www/picast you don't want deleted/

On Thu, Aug 8, 2013 at 10:55 AM, lanceseidman [email protected]:

You could and just type "sudo rm -rf /var/www/picast" OR just edit the
installer and comment everything BUT the MySQL part and re-run the
script.

But what you see is technically OK. Because if you type
http://localhost/picast in any browser, should show everything, right?
If
yes, should be good to go...


Reply to this email directly or view it on GitHub<
https://github.com/lanceseidman/PiCAST/issues/8#issuecomment-22310761>
.


Reply to this email directly or view it on GitHubhttps://github.com//issues/8#issuecomment-22310974
.

from picast.

lanceseidman avatar lanceseidman commented on August 24, 2024

Ok, now run the API for the goCAST (see readme) for either task. Once you press enter nothing will appear. How to make sure it worked? Open grabCAST and should display.

Doesn't Display? It may be MySQL connection itself, I don't have a way at the moment to check but I think the password is incorrect in both PHP files (not updated since the new Installer).

from picast.

lanceseidman avatar lanceseidman commented on August 24, 2024

As for deleting /var/www/picast it wont matter what command you use, no settings are stored and re-running the script would redo the setup.

Next revision of the script will check if the DIR exists and eventually check file sizes and/or compare files OR we ask the user what to do (e.g. Backup). But that part isn't too important yet, making sure it actually installs first for everyone THEN be picky:D

from picast.

balajivp avatar balajivp commented on August 24, 2024

Really appreciate @lanceseidman @InfernoZeus for helping how. Hope fully I am very close to see the result.

  1. On the Pi - open Midori and type the http://localhost/Picast

error

  1. I ran the watch -n 10 ./grabber.sh on the /var/www folder
    which gives me like this

Error ./grabber.sh: 12: ./grabber.sh: usage:: not found.

  1. I took my mobile and from the crhome browser, typed http://localhost/goCAST.php?website=google.com .. see nothing on the Pi due to the number 1 (i think).

from picast.

lanceseidman avatar lanceseidman commented on August 24, 2024

Hi, please look at the path you're running. /var/www is incorrect, it needs to be /var/www/picast.

OR

sudo mv /var/www/picast/grabber.sh /home/pi/grabber.sh

from picast.

balajivp avatar balajivp commented on August 24, 2024

Hi @lanceseidman I will check it out tonight

from picast.

balajivp avatar balajivp commented on August 24, 2024

hi @lanceseidman

I have moved the grabber.sh to the /home/pi,

watch -n 3 ./grabber.sh

Every 3.0s: ./grabber.sh Fri Aug 9 10:21:00 2013

./grabber.sh: 12: ./grabber.sh: Usage:: not found

from picast.

lanceseidman avatar lanceseidman commented on August 24, 2024

Please download the new Grabber file.

from picast.

balajivp avatar balajivp commented on August 24, 2024

sorry @lanceseidman I have downloaded the new grabber file. I can see what when I type -n 3 ./grabber.sh

I see the following
ry 2.0s: ./grabber.sh Sun Aug 11 08:02:21 2013
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0


After this I go on my android mobile type the IP address of PI(http://192.168.1.108/goGrab.php?website=google.com), I get blank page on the mobile and nothing on the PI.

I can confirm the setup is done correctly?

from picast.

lanceseidman avatar lanceseidman commented on August 24, 2024

Hi the problem is still in the address, it needs to be http://192.168.1.108/PiCAST/goCAST.php?website=site.ext.

The file directory and file name are extremely CaSe-SeNsitIVe. GoGRAB loading it by default will be blank, you must run goCAST with the commands. You'll never try to manually load the goGRAB as that's what the grabber file does.

Also, the moment goGRAB is requested (doesn't matter how) it grabs what you sent & deletes it, so keep that in mind.

To remember, look at the names. GRAB means to capture/get & CAST means to send.

from picast.

balajivp avatar balajivp commented on August 24, 2024

Thanks Lance. I am pretty sure I tried both with and without PiCAST folder name ( http://192.168.1.108/PiCAST/goCAST.php?website=google.com) Didn't see any difference. I will give it another try later today.

from picast.

nethi avatar nethi commented on August 24, 2024

Hi Balaji,

I got to this to work on my PI. Midori takes up 100% CPU and runs so slow that it is practically unusable for me. I had to make few changes to checked out version because of the "PiCAST" folder name. In addition to the above, you would also need to make an edit in grabCAST.php. The generated URL to the midori browser also need to have the "PiCAST" folder in the URL path.

I also had to fix minor inconsistency in the database name (in the PHP scripts vs installation code/docs).

I suggest looking at the apache error log for any potential mysql errors as well.

from picast.

nethi avatar nethi commented on August 24, 2024

One more thing. There is a typo in youtube.php
"src" attribute has an extra quote:
src="http://youtube.com/embed/?enablejsapi=1&
autoplay=1&autohide=1&controls=0&iv_load_policy=3&modestbranding=1&theme=dark&html5=1"

It should be:
src="http://youtube.com/embed/?enablejsapi=1&
autoplay=1&autohide=1&controls=0&iv_load_policy=3&modestbranding=1&theme=dark&html5=1"

from picast.

saniljhaveri avatar saniljhaveri commented on August 24, 2024

I want to download picast 2.0 where can I downlode the files ?

from picast.

lanceseidman avatar lanceseidman commented on August 24, 2024

In the picast2 branch: https://github.com/lanceseidman/PiCAST/tree/picast2

from picast.

Related Issues (20)

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.