vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Questions and errors: "Create your own vBulletin page" - receiving errors (https://vborg.vbsupport.ru/showthread.php?t=250602)

Lynne 09-17-2010 01:42 PM

I don't know why it won't work in your directory. I think you may need to grab your directory path, then change to the forum one, include the global.php file, then change back to your directory. There are threads about this, but I don't have time to go looking around for them. But, go try searching and you should find them.

sergioloporto 09-17-2010 05:43 PM

Quote:

Originally Posted by Lynne (Post 2099651)
I don't know why it won't work in your directory. I think you may need to grab your directory path, then change to the forum one, include the global.php file, then change back to your directory. There are threads about this, but I don't have time to go looking around for them. But, go try searching and you should find them.

Thanks, I understand and I appreciate your sincerity.

Please give me some seconds and tell me if I should what you suggested above even if I get the same "cookies" error if I put the test.php on the forum root (of course with the chdir commented)?

Because I tried and the same happens.

Lynne 09-17-2010 09:45 PM

I do not get the cookie error if I put the file above the forums directory and do a chdir to the forums directory. And, I don't get the cookie error if I put the file in the forums directory and don't use any chdir line.

sergioloporto 09-18-2010 07:16 AM

Could you please link to a page (no matter if yours or not) that is using a custom template made from your article?

I would like to see if I get the same, just to test we are on the same wavelength.

Lynne 09-18-2010 01:47 PM

I can't link to a vB4 page on any of my sites because they are all test sites and thus password protected. There were several links in the article to pages uses have made.

sergioloporto 09-18-2010 06:57 PM

Thank you, I tried to check some other sites, but it unfortunately happens only to me :(

--------------- Added [DATE]1284891929[/DATE] at [TIME]1284891929[/TIME] ---------------

I found out!!!

It's a codification problem. I get that error if I save the php file in UTF-8. But is should be saved in ANSI.

However if I use ANSI I cannot use the special characters ł?ężźć, but I need them.
I have to use online converters from whatever to ANSI :/

BTW, thanks much for your support


All times are GMT. The time now is 07:54 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.01742 seconds
  • Memory Usage 1,724KB
  • 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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