vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - [OzzModz] Classifieds (https://vborg.vbsupport.ru/showthread.php?t=304635)

Nelson58 12-11-2013 06:43 AM

Quote:

Originally Posted by Nelson58 (Post 2467165)
Here is part of error generated when I go into my ad and hit the delete link in the center of the bottom (next to edit ):


Fatal error: Existing data passed is not an array
Called set_existing in ..../includes/class_dm_pm.php on line 687
Called post_save_each in ..../includes/class_dm.php on line 917
Called save in ..../christeris/classifieds/includes/functions.php on line 69
Called sendInfoPM in ..../classifieds_usercp.php on line 910
in ..../includes/class_dm.php on line 265
#0 vb_error_handler(256, Existing data passed is not an array
Called set_existing in /home/hobbymac/public_html/includes/class_dm_pm.php on line 687
Called post_save_each in /home/hobbymac/public_html/includes/class_dm.php on line 917
Called save in /home/hobbymac/public_html/christeris/classifieds/includes/functions.php on line 69
Called sendInfoPM in /home/hobbymac/public_html/classifieds_usercp.php on line 910
, /home/hobbymac/public_html/includes/class_dm.php, 265, Array ([existing] => ,[line] =>
Called set_existing in /home/hobbymac/public_html/includes/class_dm_pm.php on line 687
Called post_save_each in /home/hobbymac/public_html/includes/class_dm.php on line 917
Called save in /home/hobbymac/public_html/christeris/classifieds/includes/functions.php on line 69
Called sendInfoPM in /home/hobbymac/public_html/classifieds_usercp.php on line 910
,[trace] => Array ([0] => Array ([file] => /home/hobbymac/public_html/includes/class_dm_pm.php,[line] => 687,[function] => set_existing,[class] => vB_DataManager,[type] => ->,[object] => vB_DataManager_User Object ([validfields] => Array ([userid] => Array ([0] => 3,[1] => 3,[2] => _-_mEtHoD_-_,[3] => verify_nonzero),[username] => Array ([0] => 7,[1] => 1,[2] => _-_mEtHoD_-_),[email] => Array ([0] => 7,[1] => 1,[2] => _-_mEtHoD_-_,[3] => verify_useremail),[parentemail] => Array ([0] => 7,[1] => 0,[2] => _-_mEtHoD_-_),[emailstamp] => Array ([0] => 6,[1] => 0),[password] => Array ([0] => 7,[1] => 1,[2] => _-_mEtHoD_-_),[passworddate] => Array ([0] => 7,[1] => 2),[salt] => Array ([0] => 7,[1] => 2,[2] => _-_mEtHoD_-_),[usergroupid] => Array ([0] => 3,[1] => 1,[2] => _-_mEtHoD_-_),[membergroupids] => Array ([0] => 0,[1] => 0,[2] => _-_mEtHoD_-_,[3] => verify_commalist),[infractiongroupids] => Array ([0] => 0,[1] => 0,[2] => _-_mEtHoD_-_,[3] => verify_commalist),[infractiongroupid] => Array ([0] => 3,[1] => 0),[displaygroupid] => Array ([0] => 3,[1] => 0,[2] => _-_mEtHoD_-_),[styleid] => Array ([0] => 3,[1] => 0),[languageid] => Array ([0] => 3,[1] => 0),[options] => Array ([0] => 3,[1] => 1),[adminoptions] => Array ([0] => 3,[1] => 0),[showvbcode] => Array ([0] => 2,[1] => 0,[2] => if (!in_array($data, array(0, 1, 2))) { $data = 1; } return true;),[showbirthday] => Array ([0] => 2,[1] => 0,[2] => if (!in_array($data, array(0, 1, 2, 3))) { $data = 2; } return true;),[threadedmode] => Array ([0] => 2,[1] => 0,[2] => _-_mEtHoD_-_),[maxposts] => Array ([0] => 2,[1] => 0,[2] => _-_mEtHoD_-_),[ipaddress] => Array ([0] => 7,[1] => 0,[2] => _-_mEtHoD_-_),[referrerid] => Array ([0] => 13,[1] => 0,[2] => _-_mEtHoD_-_),[posts] => Array ([0] => 3,[1] => 0),[daysprune] => Array ([0] => 2,[1] => 0),[startofweek] => Array ([0] => 2,[1] => 0),[timezoneoffset] => Array ([0] => 7,[1] => 0),[autosubscribe] => Array ([0] => 2,[1] => 0,[2] => _-_mEtHoD_-_),[homepage] => Array ([0] => 9,[1] => 0,[2] => _-_mEtHoD_-_),[icq] => Array ([0] => 9,[1] => 0),[aim] => Array ([0] => 9,[1] => 0),[yahoo] => Array ([0] => 9,[1] => 0),[msn] => Array ([0] => 7,[1] => 0,[2] => _-_mEtHoD_-_),[skype] => Array ([0] => 9,[1] => 0,[2] => _-_mEtHoD_-_),[usertitle] => Array ([0] => 7,[1] => 0),[customtitle] => Array ([0] => 3,[1] => 0,[2] => if (!in_array($data, array(0, 1, 2))) { $data = 0; } return true;),[ipoints] => Array ([0] => 3,[1] => 0),[infractions] => Array ([0] => 3,[1] => 0),[warnings] => Array ([0] => 3,[1] => 0),[joindate] => Array ([0] => 6,[1] => 2),[lastvisit] => Array ([0] => 6,[1] => 0),[lastactivity] => Array ([0] => 6,[1] => 0),[lastpost] => Array ([0] => 6,[1] => 0),[lastpostid] => Array ([0] => 3,[1] => 0),[birthday] => Array ([0] => 0,[1] => 0,[2] => _-_mEtHoD_-_),[birthday_search] => Array ([0] => 7,[1] => 2),[reputation] => Array ([0] => 9,[1] => 0,[2] => _-_mEtHoD_-_),[reputationlevelid] => Array ([0] => 3,[1] => 2),[avatarid] => Array ([0] => 3,[1] => 0),[avatarrevision] => Array ([0] => 3,[1] => 0),[profilepicrevision] => Array ([0] => 3,[1] => 0),[sigpicrevision] => Array ([0] => 3,[1] => 0),[pmpopup] => Array ([0] => 2,[1] => 0),[pmtotal] => Array ([0] => 3,[1] => 0),[pmunread] => Array ([0] => 3,[1] => 0),[newrepcount] => Array ([0] => 3,[1] => 0),[assetposthash] => Array ([0] => 7,[1] => 0),[profilevisits] => Array ([0] => 3,[1] => 0),[friendcount] => Array ([0] => 3,[1] => 0),[friendreqcount] => Array ([0] => 3,[1] => 0),[vmunreadcount] => Array ([0] => 3,[1] => 0),[vmmoderatedcount] => Array ([0] => 3,[1] => 0),[pcunreadcount] => Array ([0] => 3,[1] => 0),[pcmoderatedcount] => Array ([0] => 3,[1] => 0),[gmmoderatedcount] => Array ([0] => 3,[1] => 0),[subfolders] => Array ([0] => 0,[1] => 0,[2] => _-_mEtHoD_-_,[3] => verify_serialized),[pmfolders] => Array ([0] => 0,[1] => 0,[2] => _-_mEtHoD_-_,[3] => verify_serialized),[searchprefs] => Array ([0] => 0,[1] => 0,[2] => _-_mEtHoD_-_,[3] => verify_serialized),[buddylist] => Array ([0] => 0,[1] => 0,[2] => _-_mEtHoD_-_,[3] => verify_spacelist),[ignorelist] => Array ([0] => 0,[1] => 0,[2] => _-_mEtHoD_-_,[3] => verify_spacelist),[signature] => Array ([0] => 7,[1] => 0),[rank] => Array ([0] => 7,[1] => 0),[fbuserid] => Array ([0] => 7,[1] => 0),[fbname] => Array ([0] => 7,[1] => 0),[fbjoindate] => Array ([0] => 3,[1] => 0),[logintype] => Array ([0] => 7,[1] => 0,[2] => if (!in_array($data, array('vb', 'fb'))) { $data = 'vb'; } return true; ),[bloggroupreqcount] => Array ([0] => 3,[1] => 0),[showblogcss] => Array ([0] => 3,[1] => 0),[mgc_cb_evo_params] => Array ([0] => 7,[1] => 0),[dbtech_downloads_banned] => Array ([0] => TYPE_BOOLEAN,[1] => 0)),[bitfields] => Array ([options] => Array ([showsignatures] => 1,[showavatars] => 2,[showimages] => 4,[coppauser] => 8,[adminemail] => 16,[showvcard] => 32,[dstauto] => 64,[dstonoff] => 128,[showemail] => 256,[invisible] => 512,[showreputation] => 1024,[receivepm] => 2048,[emailonpm] => 4096,[hasaccessmask] => 8192,[vbasset_enable] => 16384,[postorder] => 32768,[receivepmbuddies] => 131072,[noactivationmails] => 262144,[pmboxwarning] => 524288,[showusercss] => 1048576,[receivefriendemailrequest] => 2097152,[vm_enable] => 8388608,[vm_contactonly] => 16777216,[pmdefaultsavecopy] => 33554432),[adminoptions] => Array ([adminavatar] => 1,[adminprofilepic] => 2)),[table] => user,[user] => Array (),[userfield] => Array (),[usertextfield] => Array (),[condition_construct] => Array ([0] => userid = %1$d,[1] => userid),[insertedadmin] => ,[adminoverride] => ,[list_types] => Array ([0] => buddy,[1] => ignore),[userchangelog] => Array (),[user_changelog_state] => 1,[user_changelog_fields] => Array ([0] => username,[1] => usergroupid,[2] => membergroupids,[3] => email),[setfields] => Array (),[rawfields] => Array (),[registry] => vB_Registry Object ([datastore] => vB_Datastore Object ([defaultitems] => Array ([0] => navdata,[1] => options,[2] => bitfields,[3] => attachmentcache,[4] => forumcache,[5] => usergroupcache,[6] => stylecache,[7] => languagecache,[8] => products,[9] => pluginlist,[10] => cron,[11] => profilefield,[12] => loadcache,[13] => noticecache,[14] => activitystream,[15] => routes),[registry] => vB_Registry Object ( *RECURSION*,[dbobject] => vB_Database Object ([functions] => Array ([connect] => mysql_connect,[pconnect] => mysql_pconnect,[select_db] => mysql_select_db,[query] => mysql_query,[query_unbuffered] => mysql_unbuffered_query,[fetch_row] => mysql_fetch_row,[fetch_array] => mysql_fetch_array,[fetch_field] => mysql_fetch_field,[free_result] => mysql_free_result,[data_seek] => mysql_data_seek,[error] => mysql_error,[errno] => mysql_errno,[affected_rows] => mysql_affected_rows,[num_rows] => mysql_num_rows,[num_fields] => mysql_num_fields,[field_name] => mysql_field_name,[insert_id] => mysql_insert_id,[escape_string] => mysql_real_escape_string,[real_escape_string] => mysql_real_escape_string,[close] => mysql_close,[client_encoding] => mysql_client_encoding,[ping] => mysql_ping),[registry] => vB_Registry Object ( *RECURSION*,[fetchtypes] => Array ([2] => 2,[1] => 1,[0] => 3),[appname] => vBulletin,[appshortname] => vBulletin,[database] => hobbymac_vbulletin_forum,[connection_master] => Resource id #8,[connection_slave] => Resource id #8,[connection_recent] => Resource id #8,[multiserver] => ,[shutdownqueries] => Array ([lastvisit] => UPDATE user SET lastactivity = 1386622216 WHERE userid = 27688 ),[sql] => ,[reporterror] => 1,[error] => ,[errno] => 0,[maxpacket] => 0,[locked] => ,[querycount] => 22),[prefix] => ,[checked_options] => 1),[input] => vB_Input_Cleaner Object ([shortvars] => Array ([f] => forumid,[t] => threadid,[p] => postid,[u] => userid,[a] => announcementid,[c] => calendarid,[e] => eventid,[q] => query,[pp] => perpage,[page] => pagenumber,[sort] => sortfield,[order] => sortorder),[superglobal_lookup] => Array ([g] => _GET,[p] => _POST,[r] => _REQUEST,[c] => _COOKIE,[s] => _SERVER,[e] => _ENV,[f] => _FILES),[scriptpath] => ,[reloadurl] => ,[wolpath] => ,[url] => ,[ipaddress] => ,[alt_ip] => ,[registry] => vB_Registry Object ( *RECURSION*,[cleaned_vars] => Array ([vbulletin_collapse] => 7,[bb_referrerid] => 3,[bb_userid] => 3,[bb_password] => 7,[bb_lastvisit] => 3,[bb_lastactivity] => 3,[bb_threadedmode] => 9,[bb_sessionhash] => 9,[bb_userstyleid] => 2,[bb_languageid] => 3,[bb_skipmobilestyle] => 1,[s] => 9,[styleid] => 2,[langid] => 2,[api] => 0,[referrerid] => 3,[a] => 7,[nojs] => 1,[ajax] => 1,[postid] => 3,[threadid] => 3,[forumid] => 2,[pollid] => 3,[dofbredirect] => 1,[pagenumber] => 3,[itemid] => 3)),[db] => vB_Database Object ([functions] => Array ([connect] => mysql_connect,[pconnect] => mysql_pconnect,[select_db] => mysql_select_db,[query] => mysql_query,[query_unbuffered] => mysql_unbuffered_query,[fetch_row] => mysql_fetch_row,[fetch_array] => mysql_fetch_array,[fetch_field] => mysql_fetch_field,[free_result] => mysql_free_result,[data_seek] => mysql_data_seek,[error] => mysql_error,[errno] => mysql_errno,[affected_rows] => mysql_affected_rows,[num_rows] => mysql_num_rows,[num_fields] => mysql_num_fields,[field_name] => mysql_field_name,[insert_id] => mysql_insert_id,[escape_string] => mysql_real_escape_string,[real_escape_string] => mysql_real_escape_string,[close] => mysql_close,[client_encoding] => mysql_client_encoding,[ping] => mysql_ping),[registry] => vB_Registry Object ( *RECURSION*,[fetchtypes] => Array ([2] => 2,[1] => 1,[0] => 3),[appname] => vBulletin,[appshortname] => vBulletin,[database] => hobbymac_vbulletin_forum,[connection_master] => Resource id #8,[connection_slave] => Resource id #8,[connection_recent] => Resource id #8,[multiserver] => ,[shutdownqueries] => Array ([lastvisit] => UPDATE user SET lastactivity = 1386622216 WHERE userid = 27688 ),[sql] => ,[reporterror] => 1,[error] => ,[errno] => 0,[maxpacket] => 0,[locked] => ,[querycount] => 22),[userinfo] => Array ([userid] => 27688,[temp] => ,[field3] => ,[field4] => ,[field5] => ,[field6] => ,[field7] => ,[field8] => ,[field9] => ,[field13] => Yes - I agree.,[field15] => Yes,[dbtech_vbdonations_awards] => ,[subfolders] => ,[pmfolders] => ,[buddylist] => 11 19 20 25 28 32 77 86 88 96 103 106 120 121 127 128 130 160 161 173 181 191 193 195 206 210 220 230 234 237 238 247 271 285 291 297 308 315 318 332 356 361 377 396 410 422 427 454 460 476 477 480 498 502 506 565 566 596 622 643 651 681 698 719 729 744 945 955 980 985 1003 1005 1104 1127 1174 1202 1228 1283 1335 1401 1409 1451 1507 1508 1549 1569 1574 1698 1701 1713 1732 1744 1745 1798 1844 1883 1912 1913 1919 1922 1973 1993 2021 2039 2060 2067 2100 2147 2168 2211 2296 2298 2332 2334 2335 2336 2345 2349 2367 2395 2406 2444 2446 2454 2491 2492 2697 2774 2809 2829 2857 2916 2997 3020 3022 3034 3063 3064 3069 3087 3115 3130 3176 3211 17062 17109 17115 17205 17226 17237 17239 17247 17258 17271 17275 17306 17319 17345 17347 17350 17368 17369 17379 17380 17402 17406 17420 17434 17460 17470 17524 17563 17576 17589 17638 17672 17716 17722 17725 17734 17740 17750 17756 18155 18316 20756 20975 21103 21594 22245 26725 27635,[ignorelist] => ,[signature] => ,[searchprefs] => ,[rank] => ,[usergroupid] => 38,[membergroupids] => ,[displaygroupid] => 38,[username] => Nels,[password] => e00b67b8fc05f452e0ba1f406c5b8d24,[passworddate] => 1384146000,[email] => ,[styleid] => 24,[parentemail] => ,[homepage] => ,[icq] => ,[aim] => ,[yahoo] => ,[msn] => ,[skype] => ,[showvbcode] => 2,[showbirthday] => 0,[usertitle] => Titanium,[customtitle] => 0,[joindate] => 1284604440,[daysprune] => -1,[lastvisit] => 1386614352,[lastactivity] => 1386622207,[lastpost] => 1386597840,[lastpostid] => 164244,[posts] => 4872,[reputation] => 30,[reputationlevelid] => 5,[timezoneoffset] => -5,[pmpopup] => 0,[avatarid] => 0,[avatarrevision] => 0,[profilepicrevision] => 0,[sigpicrevision] => 0,[options] => 45111895,[birthday] => 07-04-1958,[birthday_search] => 1958-07-04,[maxposts] => -1,[startofweek] => 1,[ipaddress] => ,[referrerid] => 0,[languageid] => 1,[emailstamp] => 0,[threadedmode] => 0,[autosubscribe] => -1,[pmtotal] => 24,[pmunread] => 0,[salt] => F9\Ui_'![I.`"Wi4#=3o|hzfe4ls+(,[ipoints] => 0,[infractions] => 0,[warnings] => 0,[infractiongroupids] => ,[infractiongroupid] => 0,[adminoptions] => 0,[profilevisits] => 28,[friendcount] => 145,[friendreqcount] => 0,[vmunreadcount] => 0,[vmmoderatedcount] =>

Still no solution?

Please?

ozzy47 12-11-2013 10:41 AM

Did you add the .htaccess stuff to your site?

Quote:

Originally Posted by Pieper (Post 2467169)
Had the same error Nelson. After uploading the .htaccess file (forgot to do that) I could delete the ad without any problems.

As I stated above.

Quote:

Originally Posted by ozzy47 (Post 2467298)
I have not found anyone to check the rewrite rules yet, I have no experience in that area, but I will see if I can find someone to look into it.


Nelson58 12-11-2013 01:52 PM

Quote:

Originally Posted by ozzy47 (Post 2467593)
Did you add the .htaccess stuff to your site?



As I stated above.


Yes, I did, the error persists.

Here is the contents of the .htaccess on my site's directory:


## USER IP BANNING
order allow,deny
deny from 113.193.161.110
deny from 82.3.69.143
deny from 220.181.
deny from 120.192.
deny from 218.207.
deny from 202.46.
deny from 38.111.
deny from 69.223.
deny from 207.55.248.
deny from 50.37.56.
deny from 218.207.
deny from 123.125.
deny from 173.180.93.
deny from 64.121.214.
deny from 173.228.19.89
deny from 67.183.225.220
deny from 108.84.218.25
deny from 183.60.243.
deny from 183.60.244.
deny from 119.63.196.
deny from 211.139.149.
deny from 185.10.104.
deny from 180.76.
deny from 74.130.56.7
deny from 97.71.18.139
deny from 50.201.185.98
deny from 222.77.207.11
deny from 144.76.78.199
deny from 37.130.224.22
deny from 117.27.67.15
deny from 71.215.239.162
deny from 27.159.248.19
deny from 154.5.153.
deny from 209.121.225.
deny from 154.5.159.
deny from 142.32.208.
deny from 162.156.41.
deny from 216.232.113.
deny from 165.201.56.
deny from 71.217.241.
deny from 208.102.62.
deny from 166.137.101.
deny from 75.168.155.
deny from 112.196.10.
allow from all


RewriteEngine On

RewriteRule ^classifieds/([^/]*)/ ./ozzmodz_classifieds.php?do=main&catid=$1 [L,NC]
RewriteRule ^sale/([^/]*)/ ./ozzmodz_classifieds.php?do=viewitem&itemid=$1 [L,NC]
RewriteRule ^wanted/([^/]*)/ ./ozzmodz_classifieds.php?do=viewitem&itemid=$1 [L,NC]
RewriteRule ^trade/([^/]*)/ ./ozzmodz_classifieds.php?do=viewitem&itemid=$1 [L,NC]
RewriteRule ^offer/([^/]*)/ ./ozzmodz_classifieds.php?do=viewitem&itemid=$1 [L,NC]
RewriteRule ^seller/([^/]*)/ ./ozzmodz_classifieds.php?do=seller&sellerid=$1 [L,NC]


Any other suggestions? Please?

Nelson

Nelson58 12-12-2013 12:50 PM

No one have any ideas how to remove this error? Please?

Pieper 12-12-2013 05:45 PM

Do you still have the error when you keep your own .htaccess in the root of your domain and the classifieds .htaccess in the forum directory?

So not a combination of both contents?

ozzy47 12-13-2013 12:13 AM

Quote:

Originally Posted by Pieper (Post 2467863)
Do you still have the error when you keep your own .htaccess in the root of your domain and the classifieds .htaccess in the forum directory?

So not a combination of both contents?

That's a good question.

fai99al99 12-13-2013 04:44 AM

great mod !

Is there a way to use vb4 friendly urls with this ?

demdev 12-15-2013 02:51 PM

Quick, maybe silly question Ozzy...where are the description fields for the post an ad form stored? I need to correct some of the verbiage. Browsed around in admincp and ftp.....decided it may be quicker to just ask....

:confused:

ozzy47 12-15-2013 02:55 PM

What description fields, the ones you set up in the ACP, or the ones the user set up when posting the item?

Pieper 12-15-2013 03:07 PM

Had it all working, but somehow I get the same error now as I had before and Nelson. I'm sure I did something myself, but cannot seem to find what happend

Fatal error: Existing data passed is not an array
Called set_existing in [path]/includes/class_dm_pm.php on line 683
Called post_save_each in [path]/includes/class_dm.php on line 917
Called save in [path]/christeris/classifieds/includes/functions.php on line 69
Called sendInfoPM in [path]/classifieds_usercp.php on line 910
in [path]/includes/class_dm.php on line 265
#0 vb_error_handler(256, Existing data passed is not an array
etc
etc

Get this error with approving, rejecting or deleting a new ad.
I can delete my own ad though ( as user and admin)

demdev 12-15-2013 03:12 PM

Quote:

Originally Posted by ozzy47 (Post 2468421)
What description fields, the ones you set up in the ACP, or the ones the user set up when posting the item?

Sorry boss....the actual form fields for the posting form. When you post a new classified ad....not the "title" field, but the description for the title field.

with img....thank you Ozz

http://friendlyfireusa.com/fields.JPG

ozzy47 12-15-2013 03:19 PM

Those are phrases, search in phrases for the text, to find the correct phrase to change. :)

demdev 12-15-2013 03:20 PM

Quote:

Originally Posted by ozzy47 (Post 2468431)
Those are phrases, search in phrases for the text, to find the correct phrase to change. :)


10-4 Thank you!

ozzy47 12-15-2013 03:21 PM

Not a problem. :)

demdev 12-15-2013 04:38 PM

Quote:

Originally Posted by ozzy47 (Post 2468434)
Not a problem. :)

Just another one befuddling me....see img. Everything else buttoned up and working fine. This one is just funny....

Know the template is classifieds_addedit_item, but the HTML for the main photo is off....has a paragraph tag and phrase attached, seems to be pushing the button for upload out?

http://friendlyfireusa.com/lol.JPG

ozzy47 12-15-2013 04:42 PM

Does the same thing happen on a unmodified default style?

demdev 12-15-2013 04:51 PM

Quote:

Originally Posted by ozzy47 (Post 2468445)
Does the same thing happen on a unmodified default style?

Ouch, good question, let me look into it. No other styles on it right now. Will also check my CSS for any issues or dupe classes.

ozzy47 12-15-2013 05:00 PM

Ok let me know. :)

demdev 12-15-2013 06:34 PM

Quote:

Originally Posted by ozzy47 (Post 2468454)
Ok let me know. :)


FYI, no it doesn't Ozz....lol....thanks much for your help!

Pieper 12-15-2013 08:37 PM

Quote:

Originally Posted by Pieper (Post 2468428)
Had it all working, but somehow I get the same error now as I had before and Nelson. I'm sure I did something myself, but cannot seem to find what happend

Fatal error: Existing data passed is not an array
Called set_existing in [path]/includes/class_dm_pm.php on line 683
Called post_save_each in [path]/includes/class_dm.php on line 917
Called save in [path]/christeris/classifieds/includes/functions.php on line 69
Called sendInfoPM in [path]/classifieds_usercp.php on line 910
in [path]/includes/class_dm.php on line 265
#0 vb_error_handler(256, Existing data passed is not an array
etc
etc

Get this error with approving, rejecting or deleting a new ad.
I can delete my own ad though ( as user and admin)

Problem was the 'PM From Userid' after changing that everything's working perfect.
I Still Have a lot to Learn :o

ozzy47 12-15-2013 09:55 PM

Hmmm, maybe that is the issue Nelson is having, thanks for sharing your findings. :)

abvolt 12-17-2013 03:50 AM

I'll check it out & let you know what I think.
Thanks

ozzy47 12-17-2013 03:51 AM

Should you choose to use it, don't forget to mark as installed. :)

Nelson58 12-19-2013 11:55 AM

Quote:

Originally Posted by ozzy47 (Post 2468511)
Hmmm, maybe that is the issue Nelson is having, thanks for sharing your findings. :)

And I tried separating the .htaccess as was suggested, and the error persists.

Help!


Thanks,


Nelson




Fatal error: Existing data passed is not an array
Called set_existing in ..../includes/class_dm_pm.php on line 687
Called post_save_each in ..../includes/class_dm.php on line 917
Called save in ..../christeris/classifieds/includes/functions.php on line 69
Called sendInfoPM in ..../classifieds_usercp.php on line 910
in ..../includes/class_dm.php on line 265
#0 vb_error_handler(256, Existing data passed is not an array
Called set_existing in /home/hobbymac/public_html/includes/class_dm_pm.php on line 687
Called post_save_each in /home/hobbymac/public_html/includes/class_dm.php on line 917
Called save in /home/hobbymac/public_html/christeris/classifieds/includes/functions.php on line 69
Called sendInfoPM in /home/hobbymac/public_html/classifieds_usercp.php on line 910
, /home/hobbymac/public_html/includes/class_dm.php, 265, Array ([existing] => ,[line] =>
Called set_existing in /home/hobbymac/public_html/includes/class_dm_pm.php on line 687
Called post_save_each in /home/hobbymac/public_html/includes/class_dm.php on line 917
Called save in /home/hobbymac/public_html/christeris/classifieds/includes/functions.php on line 69
Called sendInfoPM in /home/hobbymac/public_html/classifieds_usercp.php on line 910

ozzy47 12-19-2013 12:01 PM

Could you please create and PM me with a temporary FTP and AdminCP account?

For security reasons, we recommend you create a new FTP account only for OzzModz support, then disable or delete it after we have both confirmed the issue has been solved and there are no further issues.

The same applies to AdminCP accounts; they should ideally be temporary accounts created for OzzModz only.
If we have created an account on your site already, you can optionally boost that account to Administrator and then de-admin this account once the issue has been solved.

If you use a .htaccess password protection for your AdminCP directory, it is recommended that you create a new authorized user for OzzModz and remove this user once the issue has been solved.

Please test any temporary accounts you create to ensure that the FTP account has access to the forum files, and that the AdminCP account can access the administrative controls for the product we are assisting you with.

Ensuring this is all in order before submitting the information will significantly speed up the process of assisting you. We will alert you via PM if there's any issues with the login information you have provided.

When sending the PM, for your security you should also un-tick the "Save a copy in my Sent Items folder" checkbox. When the access details have been received, we will delete the PM from our inbox. Ensuring you have not kept a copy of the PM reduces the risk of security breaches.

I will also need a link to a classified that you are trying to delete, so I can replicate the issue. Also is this your own listing you are trying to delete or someone elses? I will look into it as soon as I get some free time.

Thank you for helping us debug our products and allowing us to assist you, we appreciate it :)

Nelson58 12-19-2013 12:13 PM

Quote:

Originally Posted by ozzy47 (Post 2469454)
Could you please create and PM me with a temporary FTP and AdminCP account?

For security reasons, we recommend you create a new FTP account only for OzzModz support, then disable or delete it after we have both confirmed the issue has been solved and there are no further issues.

The same applies to AdminCP accounts; they should ideally be temporary accounts created for OzzModz only.
If we have created an account on your site already, you can optionally boost that account to Administrator and then de-admin this account once the issue has been solved.

If you use a .htaccess password protection for your AdminCP directory, it is recommended that you create a new authorized user for OzzModz and remove this user once the issue has been solved.

Please test any temporary accounts you create to ensure that the FTP account has access to the forum files, and that the AdminCP account can access the administrative controls for the product we are assisting you with.

Ensuring this is all in order before submitting the information will significantly speed up the process of assisting you. We will alert you via PM if there's any issues with the login information you have provided.

When sending the PM, for your security you should also un-tick the "Save a copy in my Sent Items folder" checkbox. When the access details have been received, we will delete the PM from our inbox. Ensuring you have not kept a copy of the PM reduces the risk of security breaches.

I will also need a link to a classified that you are trying to delete, so I can replicate the issue. Also is this your own listing you are trying to delete or someone elses? I will look into it as soon as I get some free time.

Thank you for helping us debug our products and allowing us to assist you, we appreciate it :)

In order to create permission in .htaccess, I will need you to PM me the IP or IPs that you will use for access.

Thanks,

Nelson

Rich 12-19-2013 12:16 PM

Hey Ozzy, I was wondering if there was an ETA on when that paypal feature is going to be released. I myself have continued to try and get something to work but have failed across the board and this is the last thing I am waiting on before I can release my classifieds for use. I would be willing to modify templates and files if there is a quick and dirty way to get the usergroup data for the person who posted the ad if you know of one.

ozzy47 12-19-2013 12:21 PM

Quote:

Originally Posted by Nelson58 (Post 2469455)
In order to create permission in .htaccess, I will need you to PM me the IP or IPs that you will use for access.

Thanks,

Nelson

Sent. :)

ozzy47 12-19-2013 12:22 PM

Quote:

Originally Posted by Rich (Post 2469456)
Hey Ozzy, I was wondering if there was an ETA on when that paypal feature is going to be released. I myself have continued to try and get something to work but have failed across the board and this is the last thing I am waiting on before I can release my classifieds for use. I would be willing to modify templates and files if there is a quick and dirty way to get the usergroup data for the person who posted the ad if you know of one.

Maybe a bit later today I can PM you the details to get it to work, because it may be a bit before I can get back to this.

Pieper 12-21-2013 03:13 PM

Is it also possible to get a notification ( in notification menu) when a new ad is waiting for approval?

Nelson58 12-21-2013 05:16 PM

Quote:

Originally Posted by Nelson58 (Post 2469452)
And I tried separating the .htaccess as was suggested, and the error persists.

Help!


Thanks,


Nelson




Fatal error: Existing data passed is not an array
Called set_existing in ..../includes/class_dm_pm.php on line 687
Called post_save_each in ..../includes/class_dm.php on line 917
Called save in ..../christeris/classifieds/includes/functions.php on line 69
Called sendInfoPM in ..../classifieds_usercp.php on line 910
in ..../includes/class_dm.php on line 265
#0 vb_error_handler(256, Existing data passed is not an array
Called set_existing in /home/hobbymac/public_html/includes/class_dm_pm.php on line 687
Called post_save_each in /home/hobbymac/public_html/includes/class_dm.php on line 917
Called save in /home/hobbymac/public_html/christeris/classifieds/includes/functions.php on line 69
Called sendInfoPM in /home/hobbymac/public_html/classifieds_usercp.php on line 910
, /home/hobbymac/public_html/includes/class_dm.php, 265, Array ([existing] => ,[line] =>
Called set_existing in /home/hobbymac/public_html/includes/class_dm_pm.php on line 687
Called post_save_each in /home/hobbymac/public_html/includes/class_dm.php on line 917
Called save in /home/hobbymac/public_html/christeris/classifieds/includes/functions.php on line 69
Called sendInfoPM in /home/hobbymac/public_html/classifieds_usercp.php on line 910


Ozzy found the solution and I want to share it.

What causes this error is the setting, PM From Userid in the [OzzModz] Classifieds Settings you have the userid as the default 1, when that user does not exist.

I added my admin userid to the setting, and was able to successfully delete a classified.

alfred11 12-28-2013 01:08 PM

Quote:

Originally Posted by crazyboy1661 (Post 2461428)
ozzy47, now the mod is working fine after setting up the group permissions. Big thanks for your guidance.

How to setup up of group permission? please help me

ozzy47 12-28-2013 01:13 PM

ACP --> Usergroups --> Usergroup Manager, then for each usergroup you need to set up the permissions in the OzzModz Classifieds Permissions settings

CGhostGroup 01-02-2014 10:34 AM

It looks like the "Item Extra Field"-Option doesn't work right (or I don't understand it).

I can't find a directive/template that seperates the checkbox/dropdown/radio buttons in the template. Only for LongText.

So if I wan't to use a checkbox/radio menu it only shows one line with a checkbox, but ignores the "Separate each option with a new line"

Edit:// Btw. In your Hardcoded PM-Template (ozzmodz_classifieds.php Line 695) you use hardcoded HTML instead of BB-Code

ozzy47 01-02-2014 10:41 AM

I'll check it out when I have a chance. Thanks for the report, and for marking as installed. :)

ckgb 01-04-2014 05:55 AM

Is it possible to have this block displayed on vBadvanced home page?

Is there a way to get adds displayed in the activity stream?

Also, could you please advise on how to add a SHARE button next to the facebook LIKE button?

Thank you.

ozzy47 01-04-2014 09:32 PM

Quote:

Originally Posted by ckgb (Post 2472163)
Is it possible to have this block displayed on vBadvanced home page?

No there has been no block created for that. Perhaps you can follow the steps for creating a CMS widget or a Forum Sideblock and use that code.

Quote:

Originally Posted by ckgb (Post 2472163)
Is there a way to get adds displayed in the activity stream?

Not that I know of.

Quote:

Originally Posted by ckgb (Post 2472163)
Also, could you please advise on how to add a SHARE button next to the facebook LIKE button?

You could try adding the SHARE button in the classifieds_view_item template, around the same place as the Facebook button.

ckgb 01-05-2014 12:58 AM

Thank you.

Below is my mod rewrite

Code:

DirectoryIndex portal.php index.php
ErrorDocument 404 http://www.inwasource.com/portal.php?pageid=404





RewriteEngine on

# If you are having problems or are using VirtualDocumentRoot, uncomment this line and set it to your vBulletin directory.
# RewriteBase /forum/

# If you are having problems with the rewrite from content/ to content.php, uncomment this line to turn MultiViews off.
# Options -MultiViews

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d

RewriteRule ^.*$ - [NC,L]

# Forum
RewriteRule ^threads/.* showthread.php [QSA]
RewriteRule ^forums/.* forumdisplay.php [QSA]
RewriteRule ^members/.* member.php [QSA]
RewriteRule ^blogs/.* blog.php [QSA]
RewriteRule ^entries/.* entry.php [QSA]

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d

RewriteRule ^.*$ - [NC,L]

# MVC
RewriteRule ^(?:(.*?)(?:/|$))(.*|$)$ $1.php?r=$2 [QSA]

# Check MVC result
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule ^(.*)$ - [NC,L]
RewriteRule ^(.*)$ - [R=404,L]

I added

Code:

RewriteRule ^classifieds/([^/]*)/ ./ozzmodz_classifieds.php?do=main&catid=$1 [L,NC]
RewriteRule ^sale/([^/]*)/ ./ozzmodz_classifieds.php?do=viewitem&itemid=$1 [L,NC]
RewriteRule ^wanted/([^/]*)/ ./ozzmodz_classifieds.php?do=viewitem&itemid=$1 [L,NC]
RewriteRule ^trade/([^/]*)/ ./ozzmodz_classifieds.php?do=viewitem&itemid=$1 [L,NC]
RewriteRule ^offer/([^/]*)/ ./ozzmodz_classifieds.php?do=viewitem&itemid=$1 [L,NC]
RewriteRule ^seller/([^/]*)/ ./ozzmodz_classifieds.php?do=seller&sellerid=$1 [L,NC]

VB portion works just fine. Classifieds give out 404 error. Any idea why?

ozzy47 01-05-2014 01:05 AM

Not off the top of my head no, I don't believe anyone else has come across that. Unfortunately rewrite ruses are not my forte.

nocomp 01-05-2014 07:07 AM

hi,
i am facing the same issue with .htaccess when i put the same code.
any help would be appreciate.
great mod!
best regards


All times are GMT. The time now is 11:11 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01665 seconds
  • Memory Usage 1,937KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (20)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete