Common Issues/Bugs
[PHP] Warning: Cannot modify header information when Create a COOKIE
When you create COOKIE or try to set COOKIE, are you getting error like “Warning: Cannot modify header information – headers already sent” ? This happen if your page starts output on browser. COOKIE is at browser and it will not set if your browser has started output.
SMTP -> ERROR: Failed to connect to server: Connection timed out (110)
SMTP -> ERROR: Failed to connect to server: Connection timed out (110). Connection time-out means the mail server cannot be reached anymore. If the mail server is different from your web server (i.e. not localhost) I had check with your hosting provider whether they enabled some sort of firewall that blocks connections on the SMTP port.
Browse Server & Image Upload Problem in CKEditor Solved
Some days ago, i moved from FCKEditor to CKEditor. CKEditor looks preety good but the problem is with upload image option. In demo application it shows me Browse Server & Upload button for uploading image or media but when i download it and integrate it into my web page, Browser Server and Upload option disappear.
CakePHP PaginatorHelper-Sorting problem solved
CakePHP provide its own Pagination helper using which you can easily add paging and sorting functionality in your CakePHP application. Using this PaginatorHelper class for one model, all instruction is given in below link. If you works with more than one model. means using belongsTo or hasMany relation and getting records from more than one table than paging is as simple as one table. But for sorting…
Problem with Insert/Edit image or link in Browse server – FCKEditor
Are you facing problem when Browser Server of Insert/Edit image or Insert/Edit link in FCKEditor ? Yesterday when i was working with FCKEditor and click on Insert/Edit image than click on Upload tab and browser a file from local machine. When i click on "Send it to Server", it shows a message like "Your file has been successfully uploaded". Now if i want to use the same image again than i should go to Browse Server and select the image which was previously uploaded. But it is not showing any uploaded image from "Upload" tab (Which can be said as Quick Upload). This is the problem with Image Path. Image was uploaded in "userfiles" folder instead of "userfile/image" folder. As in Browse Server it will not show any files from userfiles folder so you have to change the default image upload path.
Solved – Error creating folder “redirect:/index.php” (Can’t create redirect: directory)
I was working with FCKEditor and i got the error like "Error creating folder "redirect:/index.php" (Can't create redirect: directory)". First thing i have checked the permissions for userfiles folder and image folder. It was 777 so that was not the problem. Finally i found the problem and came to know that this error came due to .htaccess i was using for frontend. I solved this error and here i will show you what you need to do in order to solve this error.
FCKEditor solution – How to store full URL for images (Show absolute path)
Today i came across a problem with FCKEditor. When i upload an image from fckeditor Browser Server option, it uploades correctly and insert image in content as well. But if i will send this content in email (for newsletter) than image will not be there as fckeditor inserts relative path in source of image. There should be a complete URL for image if you are sending this content into email. I was trying to find the way that how to insert the full url path when image uploads from FCKEditor.
Upload large(Big) files in PHP using .htaccess
I have seen many developers who find difficulties when working with larger files upload in php. When files which are too large in size, needs to be uploaded by php than you have to change the default file size either from php.ini OR httpd.conf OR using .htaccess. Default upload file size will be 2MB. If you are uploading file which is larger than 2MB size than here i am showing you the way to upload larger files using PHP.


I am
Recent Comments