I am running the latest phpws & listings. All the other package are able to load images properly. When I try to load an listing image or agent image, the image gets loaded to the proper directory, the resulting page is blank - but the name is not saved in the database.
Any Clue? Anybody ...
Regards
Mike
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ok - chalk one up for the big duuuuhhh column. Loaded the listings my shared site - it worked. Compared the php set-up - I was missing the jpeg, png, gd, and zlib compile options in my php set-up. Re-compiled with those options and all is ok - should have done this from the start.
I though I saw a requirements page here - maybe on the phpwebsite page - can't find it now. This would be good to know the compile options for php.
Anyway, onward and upward !!
Mike
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks - I need to get more sleep. Great Package !! Btw, do you accept user additions? That is, I needed a separate template for each class - so what I did was allow for a prefix for the cust_view_xxxx.tpl's (cust_view_full.tpl --> CUST1_cust_view_full.tpl). The user can enter the prefix in the edit_class.tpl. Of course, the user has to create all the custom templates. I have all the files marked and spefications to add a field to the mod_listings_classes table.
Also, I found an interesting issue with Listing.php - as the form elements are checked for display - they are never compared to the current class_id - I had a case where two different classes id with the same rank were over-righting each other - this is done aleady in the searchform.
Any way if you want the info - just let me know where I can send it and it's yours.
Mike
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Being able to choose multiple templates is a great idea, i'll add that to the next release for sure. Could you put this in as a feature request? Just click RFE above.
I am aware of the problems with the current code base. I have a heavily modified version that I use for personal use that fixes many of the problems, but aren't up to par for release. We plan on rewriting everything for the 0.4.0 release to make things compatible with the changes in the phpws core and fix many other problems, including the one you pointed out.
Thanks,
Wendall
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am running the latest phpws & listings. All the other package are able to load images properly. When I try to load an listing image or agent image, the image gets loaded to the proper directory, the resulting page is blank - but the name is not saved in the database.
Any Clue? Anybody ...
Regards
Mike
Some more info: I traced the code into the ListingImage.php module and it seems to stop at line 209. It never gets past
data["image"]=
$this->_image->save($_FILES["LISTINGS_image"],$this->_caption);
Everything else works fine.
Ok - chalk one up for the big duuuuhhh column. Loaded the listings my shared site - it worked. Compared the php set-up - I was missing the jpeg, png, gd, and zlib compile options in my php set-up. Re-compiled with those options and all is ok - should have done this from the start.
I though I saw a requirements page here - maybe on the phpwebsite page - can't find it now. This would be good to know the compile options for php.
Anyway, onward and upward !!
Mike
Sorry it took me so long to respond. Glad you got it figured out though. I'll make a note to update the requirements to include that information.
Wendall
Thanks - I need to get more sleep. Great Package !! Btw, do you accept user additions? That is, I needed a separate template for each class - so what I did was allow for a prefix for the cust_view_xxxx.tpl's (cust_view_full.tpl --> CUST1_cust_view_full.tpl). The user can enter the prefix in the edit_class.tpl. Of course, the user has to create all the custom templates. I have all the files marked and spefications to add a field to the mod_listings_classes table.
Also, I found an interesting issue with Listing.php - as the form elements are checked for display - they are never compared to the current class_id - I had a case where two different classes id with the same rank were over-righting each other - this is done aleady in the searchform.
Any way if you want the info - just let me know where I can send it and it's yours.
Mike
Being able to choose multiple templates is a great idea, i'll add that to the next release for sure. Could you put this in as a feature request? Just click RFE above.
I am aware of the problems with the current code base. I have a heavily modified version that I use for personal use that fixes many of the problems, but aren't up to par for release. We plan on rewriting everything for the 0.4.0 release to make things compatible with the changes in the phpws core and fix many other problems, including the one you pointed out.
Thanks,
Wendall