Laravel Wrapper Whatsapi - laravel-4

https://github.com/jonnywilliamson/laraWhatsApi
nextChallengeDir has to be writeable. I am using localhost:8000 and I have no such directory /home/user/whatsapi/nextChallengefolder'
See error code: https://www.dropbox.com/s/0vwewsrmevlu7zj/Screenshot%202015-03-18%2001.23.02.png?dl=0
I would make it writeable with chmod -R 777 but I am unaware of the steps that I need to follow. Can someone help me?
When using Whatsapi with an existing phone number, i also had the problem in the WART registration. Could not detect phone number? Could this also be the problem why it is not working? what can I do?
Thank you.

mkdir /home/user/whatsapi/nextChallengefolder
chmod 777 /home/user/whatsapi/nextChallengefolder
on app/config/pakages/williamson/config.php put your whatsapp account number and password indetify i normaly use token from RegistreTool.php from
https://github.com/WHAnonymous/Chat-API/

Related

Could not add GitHub account to Xcode; Clipped Error: GitHubHostBuiltInExtension.XCSo

I am trying to connect my GitHub account with Xcode. When I put in my credentials an error occurs, displaying clipped text. The text is not selectable nor is the window resizable. Is there a way to view/inspect the window elements so I can see the full message? Or better yet is anyone familiar with the error?
Note: Not sure if this is a question for here or Ask Different, I'll remove and repost on the other community if you guys think it's better suited.
Below is the partial error text and a screen shot.
The operation couldn't be completed. (GitHubHostBuiltInExtension.XCSo...
The full error should be:
GitHubHostBuiltInExtension.XCSourceControlHostRequestContext
It could be an iCloud account issue, or a right issue on the /Users/Shared folder.
sudo mkdir -p /Users/Shared
sudo chown root:wheel /Users/Shared
sudo chmod -R <userid>/Users/Shared

Xcode Project read only solution

My Xcode project unfortunately changed to read only state, nothing is going to be modified. i cant able to forward. help me to change my Xcode status from read only to read/write.
help me to fix it.
thanks in advance.
go to the Terminal and change it:
cd PATH #where PATH is the directory where you project is
sudo chown -R YOURUSER:staff .
sudo chmod -R 775 .
Thant will reset all permission to writable for you, readonly for others

How to set permissions of certain folders to 777 on Mac

I need to set the permissions of just 3 specific folders (on my Mac) to 777
I went to CMND+i (get info) but the folder permissions seemed to be Read and Write - but this didn't seem to fix it.
I am trying to work out how to do this, because I am using MAMP on my Mac to try and run a localhost server to test a website. Reason; I am trying to run the script of a PHP website. It is asking me to change the permissions of certain folders in order to proceed with the 'install'.
I think the closest match to a possible answer is here:
Java: Create a new dir with 777 permissions on Mac
But, this appears to be Java. I assume that I need to be able to do this via either MAMP or Terminal. If anyone could please advise me which program/tool to use and what to type in, I'd be very grateful.
Thanks
I know how to do it in a terminal, to create "/some/directory/some/where" you can use -
# EDIT: 777 not 077.
mkdir -p /some/directory/some/where && chmod 777 /some/directory/some/where

Laravel 4 permissions not showing

Im getting blank page while using Laravel, I already gave perms to the folder with
find app/storage -type d -exec chmod 777 {} \;
But still blank page.
Another thing you can try...
run php artisan serve from your projects root dir, and see if the browser comes up if you go to http://localhost:8000
And give us feedback in the run... because now we only can guess.
I don't know where you're at on solving this problem. But, you'll want your permissions to be at 775 not 777. Also, you may want to check ownership on your htdocs folder and all files within that directory. This is pure speculation since I don't know what kind of dev enviroment you're using, but i run a lamp stack and when ever I have to create a new enviroment the htdocs folder is always owned by root. You may want/need to chown that to your user account.
How about chmod -R 777 app/storage
If that does not work it is a htaccess problem propably
Last but not least, and it might sound stupid, but can you verify if the directories are all there in app/storage ? Because it happened to me that i was checking out from svn and empty directories are not transferred, so make sure you check that app/storage/logs exists.
If there is no log file written then it sure has to do with access levels, for example not being able to write into those dirs, hence the chmod command above. And i posted that because i had never seen anybody do it the way you did.
At least if you are able to write to the log file you can find out what exactly is wrong.
But we have so minimal information it is hard to help you in a good way.

reset file permissions on mac root folder

here is what I have done,
cd /
chmod 000 .
Which has changed my all file permissions.
I can only see the blue screen on my mac and not able to login.
I tried following links with no luck.
1 login as single user mode
and execute these commands
/sbin/mount -uw /
cd /private/var/db
rm .AppleSetupDone
halt
https://apple.stackexchange.com/questions/20192/how-can-i-fix-permission-issue-when-i-cannot-start-mac-os-x
I don't want to try any random things further, any help would be appreciated.
thanks..!
here is what worked for me.
http://macs.about.com/od/faq1/f/emergencystart.htm
in case anybody faces the same problem.

Resources