SMFHacks.com

SMF Classifieds => Support => Topic started by: Shades on October 13, 2022, 11:31:23 am

Title: Error when deleting an ad
Post by: Shades on October 13, 2022, 11:31:23 am
SMF 2.1.2
SMF Classifieds 5.1.8

When deleting an ad from the classifieds I get 8 of this same error:

Quote
Error
Type of error
General
Error message
2: unlink(/home/******/public_html/************/classifieds/): Is a directory
File
/home/******/public_html/************/Sources/classifieds2.php
Line
4260
URL of page causing the error
https://************.com/?action=classifieds&sa=deletelisting2

Backtrace information
#0: smf_error_handler()
Called from unknown on line -1
#1: unlink()
Called from /home/******/public_html/************/Sources/classifieds2.php on line 4260
#2: Classifieds_DeletePictureByID()
Called from /home/******/public_html/************/Sources/classifieds2.php on line 1858
#3: Classifieds_DeleteListingByID()
Called from /home/******/public_html/************/Sources/classifieds2.php on line 1825
#4: Classifieds_DeleteListing2()
Called from /home/******/public_html/************/Sources/classifieds2.php on line 192
#5: ClassifiedsMain()
Called from /home/******/public_html/************/index.php on line 192
Title: Re: Error when deleting an ad
Post by: Shades on October 13, 2022, 12:28:29 pm
And now for some reason I'm getting this error when adding new ads and haven't deleted anymore pics:

Quote
Error
Type of error
General
Error message
2: unlink(/home/******/public_html/************/classifieds/): Is a directory
File
/home/******/public_html/************/Sources/classifieds2.php
Line
4233
URL of page causing the error
https://************.com/?action=classifieds&sa=delpic2

Backtrace information
#0: smf_error_handler()
Called from unknown on line -1
#1: unlink()
Called from /home/******/public_html/************/Sources/classifieds2.php on line 4233
#2: Classifieds_DeletePicture2()
Called from /home/******/public_html/************/Sources/classifieds2.php on line 192
#3: ClassifiedsMain()
Called from /home/******/public_html/************/index.php on line 192

Quote
Error
Type of error
General
Error message
2: unlink(/home/******/public_html/************/classifieds/): Is a directory
File
/home/******/public_html/************/Sources/classifieds2.php
Line
4236
URL of page causing the error
https://************.com/?action=classifieds&sa=delpic2

Backtrace information
#0: smf_error_handler()
Called from unknown on line -1
#1: unlink()
Called from /home/******/public_html/************/Sources/classifieds2.php on line 4236
#2: Classifieds_DeletePicture2()
Called from /home/******/public_html/************/Sources/classifieds2.php on line 192
#3: ClassifiedsMain()
Called from /home/******/public_html/************/index.php on line 192
Title: Re: Error when deleting an ad
Post by: SMFHacks on October 13, 2022, 01:25:53 pm
Update

5.1.9
!Fixes error deleting listing pictures in error log
Title: Re: Error when deleting an ad
Post by: Shades on October 13, 2022, 04:07:47 pm
Thanks! We're error free now! 8)