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)


All times are GMT. The time now is 02:45 PM.

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.01432 seconds
  • Memory Usage 1,819KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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