vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - Mary's Classifieds (https://vborg.vbsupport.ru/showthread.php?t=267194)

stationar 09-04-2011 03:09 PM

Quote:

Originally Posted by Whity (Post 2241826)
fixed

open
microclassifieds\datagrid\class\phpmydatagrid.clas s.php

find:

PHP Code:

var $sqlcharset ""

replace:

PHP Code:

var $sqlcharset "Windows-1251"

or

PHP Code:

var $sqlcharset "UTF-8"

if you use the charset UTF8

Thanks. That fixed the issue. I also changed file ru.php. In fact, I deletet the file, and created a new one, because it was saved with wrong encoding. Here is the correct one, that works (attached):

ozione 09-04-2011 03:37 PM

hi again!

i'm about to open classifieds to the public but there are still some issues i can't resolve myself. any help would be appreciated - as always.

1st trouble:
i'm having two different urls (paths) to "my classifieds" section. one path from one's control panel:
Code:

http://***forum_URL***/usercp_classifieds.php?do=myitems
this one works as it should and points to a correct location

this path is shown from an administrative message in case where one is having a limited permissions (e.g. number of ads). at the end there is a link to "my ads":
Code:

http://***forum_URL***/classifieds.php?do=myitems
this is generating a blank page or a fatal error:
Code:

Fatal error: Call to a member function show_chatbox() on a non-object in /domains/konzole-slovenija.com/public_html/vb4/includes/class_bootstrap.php(414) : eval()'d code on line 35
which also generates an invalid sql error.

it seems this has somewhat to do with a MGC Chatbox Evo product. besides this error occurs only when one is not logged in (permissions?). i have to say that currently only admin user group has permissions to use classifieds but anyway... i think this is not a proper error.

next thing; if one's logged out and trying to access classifieds, an error occurs (using firefox or safari):
Code:

Unable to add cookies, header already sent.
File: /domains/konzole-slovenija.com/public_html/vb4/classifieds.php
Line: 1

same thing with an error in google chrome and opera:
Code:

Fatal error: Call to a member function show_chatbox() on a non-object in /domains/konzole-slovenija.com/public_html/vb4/includes/class_bootstrap.php(414) : eval()'d code on line 35
i would say that "same" thing is happening in different scenarios but i'm just not that into it to extract it out. thanks for all the help.

j.

Christos Teriakis 09-04-2011 04:44 PM

Quote:

Originally Posted by ozione (Post 2241877)
Code:

http://***forum_URL***/classifieds.php?do=myitems
this is generating a blank page or a fatal error:
[CODE]

This URL is wrong (from the older versions). Do you remember where did you found it?

Chris

Whity 09-04-2011 04:47 PM

I can not find a phrase:

PHP Code:

microclassifieds_h_autopost 

instead it

PHP Code:

microclassifieds_h_title 


clutchthese 09-04-2011 06:27 PM

does google ads work on anyone's classifieds.php page? I can't get my ads to populate.

businessmeet 09-04-2011 08:07 PM

facing same prob, there is permission issue

stationar 09-04-2011 08:12 PM

1. When placing bid, vBulleting gives error: "Invalid recipient username. Please press the back button, enter the correct username and try again. Click Here to See the Members List". When I go back, my bid is placed.
2. Nothing is listed in the data grid. No items at all.

maineGuy72 09-05-2011 12:28 AM

Quote:

Originally Posted by stationar (Post 2241964)
1. When placing bid, vBulleting gives error: "Invalid recipient username. Please press the back button, enter the correct username and try again. Click Here to See the Members List". When I go back, my bid is placed.
2. Nothing is listed in the data grid. No items at all.

1. as stated in many posts the error you are getting is from a PM error to people watching the ad. the PM to seller does go through

2. provide a link so we can see what you mean

maineGuy72 09-05-2011 12:30 AM

please if you have questions please use the "search this mod" option at the top
before posting your question.

stationar 09-05-2011 12:50 AM

[QUOTE=maineGuy72;2242026]



3. Another issue: When editing your favorites (or other staff on UserCP), it redirects to the wrong URL. (I think this was mentioned, but the thread is getting too large to follow)

-----

More info from error log (it looks like grid is trying to use wrong mysql credentials):

Quote:

----- 2011-09-05 00:28:00 -----
-------------------------------
classifieds.php?do=browsegrid
-------------------------------
SQL Error found in query: SELECT `id`,`logo`,`adtype`,`title`,`categoryid`,`userid` ,`username`,`newused`,`starts`,`price`,`location` FROM `microclassifieds_items` WHERE active = 1 AND hidden = 0 AND sold = 0 AND categoryid IN (4) ORDER BY `starts` DESC LIMIT 0,15
Error message: Access denied for user 'test'@'localhost' (using password: NO)
-------------------------------


All times are GMT. The time now is 04:42 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.02380 seconds
  • Memory Usage 1,762KB
  • 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
  • (6)bbcode_code_printable
  • (5)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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