I am using quincykit to get the crash reports of ios app, I am able to get the crash files to my server. I can see the crash report. I tired to symbolicate it. But it gives me same as input(contents in original crash file)
I am able to get the crash file in 'local' folder in mac.
I am able to post the content from mac to server (It is working)
I guess the problem is in symbolicatecrash.pl, Here my input and output are coming same.
I added .app file and .app.dSYM file in same directory as symbolicatecrash.pl.
Thanks for your help in advance.
You most likely don't have the correct dSYM for the build that caused the crash at all or in a path that Spotlight indexed.
The following page explains how to find out if you have the correct dSYM available: http://support.hockeyapp.net/kb/how-tos-faq/how-to-solve-symbolication-problems
Related
I am getting an error on my WordPress website after changing the server. it's working on cPanel but not working on the AWS server.
I haven't change anything in this file.
This is just one screenshot. SO not allowing me to upload the code. Getting some error while uploding.
I don't know how I got this gray code on the formatting.php page. I found this code in more than 3 places.
I download the latest version of WordPress again and updated the formatting.php and It's starting working again.
Cause
If you use FileZilla like I do - that's where the problem comes from.
If you download your site contents with FileZilla, then the file contents get corrupted.
When you upload again, the 'unexpected characters' break Wordpress.
Behaviour
That explains why in my case, my DEV site was working fine.
But when I download/upload migrated the contents to a fresh QA instance then QA failed with the:
There has been a critical error on this website.
Solution
I used Nautilus to connect to my host as a Remote Server.
When I copied my formatting.php down through Nautilus, the file opened all clean.
The FileZilla FTP copy was dinged in 3 places.
WinSCP is also apparently fine with this.
Disclaimer: Not my own work
All thanks due to this comment:
https://wordpress.org/support/topic/parse-error-on-line-5925-in-formatting-php/
I have begun learning PHP using an eBook. The following strange results are happening: Per the book I have created two simple PHP files. They are named phpinfo.php and hello.php. Both files show in the user root directory. Both files show when I use the ls command in my mac terminal.
When I try to run them in my browser only the first one runs. The second results in a 404 error, File Not Found. How is this possible? Could an internal file mistake cause this?
Thanks
Thank you all. It was suggested that it would be easier to delete everything including the app and start over. So I did and then downloaded MAMP. That worked.
I'm trying to get a file's content into a variable but I don't get anything when I read the file. I used both methods JFile::read() and file_get_contents() but both return the same thing: a blank string, not an error , not any boolean values or anything.
I want to mention that I'm working on a Linux machine (just for 2 days) and recently I changed the permissions for the entire machine to 777 ( I don't know if this affects something or not).
Is the a connection between my OS, permissions and the php's file_get_contents()? or Joomla restricts file reading?
Also I want to mention that my file_get_contents() function was added manually by me in the index.php file , also the file I want to read was manually added in the same folder with index.php.
We had the same problem with one of our clients, it turned out it was a firewall issue. It was very hard to debug this issue. I suggest you check with your networking team.
I am assuming, of course, that you have set the PHP error reporting level to the maximum and that you have checked the error logs.
It seemed the problem was from my system . I messed it up when I changed the permissions so I have to re-install it.
Never change the permissions on a Linux for the entire file system.
I have a weird problem I cannot seem to solve (as a php noob).
I am working on simple php site (no sql involved). Everything was working perfectly till the moment I decided to copy over the files and edit them on another computer. All worked fine on the other computer as well. Then I took the files and copied them to the first computer again. Here came the problem: if I try to open ANY file copied from the second computer, it doesn't show anything, just a blank page. Even if the file was not edited at all on the second computer.
For example my index.php:
1. Copied from comp 1 to comp 2, no edits done
2. Copied from comp 2 to comp 1
3. Opened in the browser -> blank page
What's going on here and how to solve it? Is it some cache that apache is keeping? How to clear it? Both computers with OSX, however the second one was running MAMP, while the first had php/apache/sql set up.
Your permissions need to be set up correctly. Do the following:
Change the owner of the group to your user
chmod 0755 all the directories
chmod 0644 all the files
Then you are good to go!
You need to make sure that your permissions are set up correctly.
Apache Permissions
The blank page is displaying because Apache is encountering a PHP error somewhere, but is not set to display PHP errors.
Check out what is going on in your Apache error log and work from there. You could also look in the Developer Tools of a browser like Chrome, or use Firebug, to see what response your browser is getting from the server (most likely a HTTP 500 error).
I wouldn't recommend blindly changing ownership on files and directories until you know what is going on.
I have just moved my CodeIgniter project to a new server and now I'm getting a 500 error and no output from the project. It works fine on my old server and in my test environment. I'm completely stumped how to troubleshoot this, especially as there's nothing of use in the log files. Any help would be great!
Well, this is embarrassing. I was missing php-mysql. CodeIgniter wasn't logging the fact that it couldn't find it, nothing was appearing in /var/log/messages. Installed it and suddenly, it works. Thanks all for your answers.
I get this problem on my live server with SuPHP. To avoid it, all PHP files must have permissions 0644, and directories 0755.
To do this without a headache, do one of the following:
Get an FTP client that will upload using permissions you specify
Find a PHP script that will change permissions, based on filtering criteria, after upload
Get shell access to your host!
Some ideas for you:
Are you sure there is nothing in the log files? Have you checked both the web server's log files as well as the system logs (EG: /var/log/messages)? Have you checked all of the logs enabled in php.ini?
Double-check your CI configuration settings. Perhaps you are pointing to the wrong database?
Have you confirmed that a basic PHP script <?phpinfo(); ?> works? This would isolate the problem to CI
Most likely you have not specified the base url for the new location, you can set it from file:
/system/config/config.php
at line:
$config['base_url'] = 'your new url here';
have you try load a new CodeIgniter project, and try to load in ur test environment? is it work?
From my experiment 500 error normally due with web server problem. But from what your said you didn't have any .htaccess. You better try just load a clean CI project and see your webserver OK or not.