Osclass forums
Support forums => Themes => Bender => Topic started by: Akhim on May 24, 2015, 08:14:18 pm
-
I have a Problem, i am using default bender theme. when i publish a new ad, the ad get published without the images. Even when i try to publish from the osclass admin, the images don't appear. If i publish as a user, on hitting publish, the page refreshes to a blank page which if i refresh/reload the ad is replicated the number of times i reload the tab. I basically have to delete them from admin. editing an listing in the admin side to add images doesn't work. Any insights?
-
Question: do images EXIST ? I mean in the Osclass upload folders ? Are they actually uploaded and not show or not uploaded at all ?
-
Question: do images EXIST ? I mean in the Osclass upload folders ? Are they actually uploaded and not show or not uploaded at all ?
I have checked the upload folder, and you are right, the images aren't getting uploaded at all despite the 'success' i get during posting.
-
So this is a different problem. Do you have FTP access ? Check with the FTP client the permissions of folders.
Also enable debug mode of osclass.
-
So this is a different problem. Do you have FTP access ? Check with the FTP client the permissions of folders.
Also enable debug mode of osclass.
Yes i have ftp access. I have three accounts by the same host, one using twitter, another modern and now this one using bender but the former are ok. Apart from not publish images, i don't know why the page refreshes to a blank page on hitting post and stays that way even if i reload the tab, plus republishes the same listing afresh the number of times i reload the tab. I will enable the debug mode shortly.
-
This could be either a permission problem or a php image module missing or not enabled.
-
This could be either a permission problem or a php image module missing or not enabled.
Sorry i took i while, i had to grab something to eat. Anyways' attached find the deebug file. Thank you for your input
-
I dont understand, below is the code found on the file ponted out by the debug log.
[24-May-2015 21:23:36 ] PHP Notice: Undefined index: s_city in /home/xxx/public_html/oc-includes/osclass/helpers/hDefines.php on line 494
$url = str_replace('{ITEM_CITY}', osc_sanitizeString($item['s_city']), $url);
and the other is this;
[24-May-2015 21:23:05] PHP Fatal error: Call to undefined function imagettfbbox() in /home/xxxx/public_html/oc-includes/osclass/classes/ImageResizer.php on line 337
code:
private function _calculateBBox($text) {
$bbox = imagettfbbox(
20,
0,
$this->_font,
$text
);
-
PHP Notices are not important at all right now, they don't harm (just a very small slowdown if any).
The FATAL errors i see are from GD Library (function imagettfbbox()). So you have a problem there, try Imagik library if you have. You have a Cpanel ? What lib is enabled, GD or Imagik ?
Also make sure the permissions are ok.
-
Yes i have Cpanel, but donno how to check what library is enabled (dummy me)
-
Yes i have Cpanel, but donno how to check what library is enabled (dummy me)
Select PHP Version option. All modules are there, enabled or disabled. GD = GD Lib and Imagick is what you need (and also change that in Osclass admin).
-
PHP Notices are not important at all right now, they don't harm (just a very small slowdown if any).
I also thought at first that PHP notices are harmless but over time with more experience learned to take them with most attention, same way or even more so than fatal errors and warnings, because they can hide a much more serious problem which will be reviled later.
-
After trying all the suggestions to no avail, i left it alone to work on another project. Today i came back, retried and it worked fine with no problems at all. In short, i still don't know what the issue was.....
-
Hi.just created a classified website using bender theme but am not able to post photos in the listing.am really in need of seeing that work.kindly help the site www.qualityhousingkenya.com (http://www.qualityhousingkenya.com)
-
Most likely hosting issue :-\
After trying all the suggestions to no avail, i left it alone to work on another project. Today i came back, retried and it worked fine with no problems at all. In short, i still don't know what the issue was.....