Thread: Social Group and Album Enhancements - Social Group Calendars
View Single Post
  #54  
Old 04-15-2010, 10:14 AM
theparentpack theparentpack is offline
 
Join Date: Dec 2007
Posts: 139
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have installed, edited the two files, uploaded them. Then I edited the templates, and configured. Now when I try to view or add an event I get the permissions error. How can I fix this?:

Tina, you do not have permission to access this page. This could be due to one of several reasons:

1. Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
2. If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.



Also, in the admincp when I go into my calendar manager and edit I get this vB database error, however, the changes I made are saved:

Database error in vBulletin 3.8.2:

Invalid SQL:

SELECT eventid, userid, event.title, recurring, recuroption, dateline_from, dateline_to, event.calendarid, IF (dateline_to = 0, 1, 0) AS singleday, customfields,
dateline_from AS dateline_from_user, dateline_to AS dateline_to_user, utc, dst , event.socialgroupcalendar, sg.name as socialgroupname
FROM event AS event
INNER JOIN calendar AS calendar USING (calendarid)
LEFT JOIN (SELECT groupid, name FROM socialgroup) sg ON sg.groupid = event.socialgroupcalendar
WHERE ((dateline_to >= 1271157014 AND dateline_from < 1274008214) OR (dateline_to = 0 AND dateline_from >= 1271157014 AND dateline_from <= 1274008214 ))
AND visible = 1
AND calendar.options & 512
ORDER BY dateline_from;

MySQL Error : You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'SELECT groupid, name FROM socialgroup) sg ON sg.groupid = event
Error Number : 1064
Request Date : Thursday, April 15th 2010 @ 07:10:14 AM
Error Date : Thursday, April 15th 2010 @ 07:10:14 AM
Script : http://sonoma.ca.theparentpack.org/f....php?do=update
Referrer : http://sonoma.ca.theparentpack.org/f...hp?do=edit&c=1
IP Address : XXXXXXXXXX
Username : Tina
Classname : vB_Database
MySQL Version : 4.0.27-max-log



Even when I disable the mod, I get the permission error. What can I do to fix these two issues?
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01622 seconds
  • Memory Usage 1,770KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete