PDFs not working in Safari or IE
Permalink
PDFs are not opening in Safari or IE.. I used to have to put ini_set('zlib.output_compression','Off'); in the index.php file to get them to open but that's not even working at this point.
The site ishttp://www.ebs-ins.com and an example is the Privacy statement in the bottom left.
The site is updated to the latest version.
The site ishttp://www.ebs-ins.com and an example is the Privacy statement in the bottom left.
The site is updated to the latest version.
Now I'm getting that too.. May have been cached.
As far as the link goes.. I added the file using the ADD LINK button in the editor.. So I didn't manually set the link. Not sure why that wouldn't be linking correctly..
As far as the link goes.. I added the file using the ADD LINK button in the editor.. So I didn't manually set the link. Not sure why that wouldn't be linking correctly..
Shouldn't you add a link to a file by using the Add File function since it's a file you want them to download?
I tried that and that didn't work either. Same result.
Corrupt core?
It says it's an 'Invalid File'. Have you tried adding a link to a different file, perhaps a different PDF or a Word doc?
Yes.. None of the PDF links are working on the site..
Joel Lucibello
Agenity Corporation
http://www.agenity.com
joel@agenity.com
704.728.1110
"We make websites smarter!"
Joel Lucibello
Agenity Corporation
http://www.agenity.com
joel@agenity.com
704.728.1110
"We make websites smarter!"
But the 'Add File' function works for other types of documents?
No.. I just tried it with a PDF and a JPG and neither of them work in Safari.. Only in Chrome..
http://ebs-ins.com/index.php?cID=134...
http://ebs-ins.com/index.php?cID=134...
This is crazy.. The site was just updated to the latest version of Concret5. Everything else works.. but anything uploaded using the FILE MANAGER or ADD FILE won't open in certain browsers.
I can't imagine that I'm the only one this has ever happened to..?
I can't imagine that I'm the only one this has ever happened to..?
Check your files (specifically config files, probably) for extra stuff
(probably whitespace) after the closing tag ?>.
Or, generally, just remove all closing tags.
James
(probably whitespace) after the closing tag ?>.
Or, generally, just remove all closing tags.
James
This file?
There are no spaces at all?
There are no spaces at all?
For heaven's sake Joel, don't ever post your database details on a public forum.
Oops. Is there any way to delete it?
Change your database info. Google already indexed your current data.
Also (and I have no reason to believe this to be true), make sure there is no whitespace after the last ?>, in that or in any other file.
James
James
It's late and I don't have access to my developer.. Is changing the database password something that's easy to do?
I'm using a VPS and using SQLYOG..
Let me know..
Thank you!
I'm using a VPS and using SQLYOG..
Let me know..
Thank you!
You need to log into the MySQL server as user root (ar any user that has the UPDATE privilege for the mysql database). You should be able to do that with SQLYOG, or from the command line:
After entering the password you would end up at at mysql> prompt;
Then enter these commands (to change user "user-name" and password to "new-password") without the quotes:
If you are using the command line, at the mysql> prompt enter
That should do it.
mysql -u root -h localhost -p
After entering the password you would end up at at mysql> prompt;
Then enter these commands (to change user "user-name" and password to "new-password") without the quotes:
If you are using the command line, at the mysql> prompt enter
quit;
That should do it.
And then you need to change the info in your [root]/site.php to match your new database info.
I'd argue that it's MUCH more important to change your salt. Go do that now...
Sorry about all of this... :)
James
Sorry about all of this... :)
James
Yeah. Eek.
(And I should have noted that this will prevent all logins from working. On the other hand, it'll prevent people from trivially taking over his site... so, that's the other thing.)
(And I should have noted that this will prevent all logins from working. On the other hand, it'll prevent people from trivially taking over his site... so, that's the other thing.)
Jeez, this is getting all kinds of crazy. You can use this to reset your admin password.
https://github.com/mkly/concrete5-Lockpick...
Good luck,
Mike
https://github.com/mkly/concrete5-Lockpick...
Good luck,
Mike
I figured it all out.. Not sure why replying via email is showing up blank on certain posts.. but I had replied that I figured all of that out.
I ended up just manually uploading a PDF via FTP and linked them that way.. That will hold until the client tries to upload another PDF.. This is my only client that this is happening to.. and I have no idea why.. but at this point we're just back to PDFs not opening in certain browsers using the FILE UPLOAD and the ADD FILE button..
Thanks for everything else..
I ended up just manually uploading a PDF via FTP and linked them that way.. That will hold until the client tries to upload another PDF.. This is my only client that this is happening to.. and I have no idea why.. but at this point we're just back to PDFs not opening in certain browsers using the FILE UPLOAD and the ADD FILE button..
Thanks for everything else..
http://puu.sh/6QTNU.png
Are you sure the link to the file is correct?