![]() |
|
tweet_news url shorten header errors - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: tweet_news url shorten header errors (/thread-9950.html) |
tweet_news url shorten header errors - NealR - 2012-05-08 hi! I'm using the tweet_news plugin on my install, but currently it is creating a shortened URL when it tweets. Now I don't really need this,so would be nice to remove it, but if I can't, then how do I fix the header errors that the shortened URLs produce? Notice: class-album detected an invalid folder name: tiny. in /home/ccphoto/public_html/zp-core/class-album.php on line 70 Warning: Cannot modify header information - headers already sent by (output started at /home/ccphoto/public_html/zp-core/class-album.php:70) in /home/ccphoto/public_html/index.php on line 123 Warning: Cannot modify header information - headers already sent by (output started at /home/ccphoto/public_html/zp-core/class-album.php:70) in /home/ccphoto/public_html/index.php on line 124 Warning: Cannot modify header information - headers already sent by (output started at /home/ccphoto/public_html/zp-core/class-album.php:70) in /home/ccphoto/public_html/index.php on line 125 Warning: Cannot modify header information - headers already sent by (output started at /home/ccphoto/public_html/zp-core/class-album.php:70) in /home/ccphoto/public_html/index.php on line 126 tweet_news url shorten header errors - acrylian - 2012-05-08 If you don't want the tinyurl the plugin creates you have to create a custom version of it. So when do you exactly get these errors? When you tweet or when someone visits your site via that tinyurl? Example links would really be helpful. tweet_news url shorten header errors - NealR - 2012-05-08 it is when someone visits the site from a tweet. and to see it on site: http://www.clear-capture.com/tiny/65 but if you go direct to http://www.clear-capture.com/random then it loads without an error tweet_news url shorten header errors - acrylian - 2012-05-08 I cannot reproduce this locally or on my live server. Are you sure you have the right .htaccess file for this Zenphoto release? tweet_news url shorten header errors - NealR - 2012-05-08 well... I looked into the htaccess, and according download of zen it matches. But I did notice one line on the tiny rewrite section on line 64: RewriteRule index.php$ index.php [L,QSA] I changed this round to: RewriteRule index/.php$ index.php [L,QSA] And now it appears to have resolved those issue, and loads the site correctly now. Not noticed anything else a problem so far either tweet_news url shorten header errors - acrylian - 2012-05-09 That line is actually a standard rewrite rule there since forever. The line before that ( I did never notice any issues and so far you are the first to report it. Htaccess is a complicated thing for sure so maybe we should investigate that. Please open a ticket about that so we don't forget it. Please post info about your server config as well (we once had an issue older vs newer apaches which took quite long to find out). |