vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Functions.php (https://vborg.vbsupport.ru/showthread.php?t=48316)

Blitz King 01-30-2003 02:31 PM

Functions.php
 
Heydo ^_^

I'm running VB 2.2.9, and whenever I try to install a hack that involves editing the functions.php file, i always get a parse error informing me that:

error with ()vbsetcookie or something like that. It's been a while since i tried hacks like that 'cause I always get errors.

Anyway, does anyone know a fix to this problem, so I can get some decent hacks on my board?

TECK 01-31-2003 07:03 AM

What hack you try to install and what editor you use to edit your files?

Icheb 01-31-2003 09:08 AM

If you receive error messages pertaining vB not being able to set a cookie, you probably made a mistake in changing functions.php so that something is sent to the browser before vB attempts to set that cookie.

Blitz King 01-31-2003 02:56 PM

TECK : I do it straight from the FTP or use notepad *Shrugs*

Icheb : Yeah, but I edited exactly, i know it 'cause I checked about 50 times.

EDIT : I tried installing itemshop v5 again, and when it came to editing functions.php, I get this :

Parse error: parse error in /home/tidus/public_html/forums/admin/functions.php on line 812

Fatal error: Call to undefined function: vbsetcookie() in /home/tidus/public_html/forums/admin/sessions.php on line 205

TECK 02-01-2003 08:45 AM

Your vbsetcookie() function is not present in functions.php file.

EDIT: Use TextPad or EditPlus2 for your code editing... Notepad is crap.

Blitz King 02-01-2003 11:34 AM

All better ^_^ I tried it with EditPlus2 and it worked ^_^

dotagious 02-07-2003 03:45 AM

This happens to me to... and it's only functions.php

You can see what I'm talking about in this thread.

Where can I find this EditPlus2? I tried a google search, and find a bunch of websites in other languages.

dotagious 02-07-2003 04:05 AM

Ok, I found and used EditPlus2 and it still occurs. :(

dotagious 02-07-2003 04:13 AM

I also tried what was suggested in this thread and it still produces an error. This is making me crazy.


All times are GMT. The time now is 01:41 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.00952 seconds
  • Memory Usage 1,719KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete