vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Unknown Error in index.php Code (https://vborg.vbsupport.ru/showthread.php?t=191621)

Lynne 09-25-2008 06:02 PM

1 Attachment(s)
It is showing as a graphical display on my test site.

Tact7626 09-25-2008 06:08 PM

error template fixed on all templates. should work now. i guess

Lynne 09-25-2008 06:20 PM

I don't know what is up with that page right now (could be my ISP or something else), but this error is in the page source:

<b>Warning</b>: include(mypoll.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory in <b>/homepages/26/d196297218/htdocs/index2.php</b> on line <b>101</b><br />
<br /><b>Warning</b>: include() [<a href='function.include'>function.include</a>]: Failed opening 'mypoll.php' for inclusion (include_path='.:/usr/lib/php5') in <b>/homepages/26/d196297218/htdocs/index2.php</b> on line <b>101</b><br />

legionofangels 09-25-2008 06:28 PM

He probably didn't remove the grab "mypoll.php" line from the index when you looked. Then we think our server got really busy for a second.

Another concept here that might be totally off is that maybe we have conflicting codes on the page.

As you are testing just the poll code, not the other code we have next to it, or that one showing recent posts. I think I'm wrong but I'm throwing it out there.

Lynne 09-25-2008 06:49 PM

Quote:

Originally Posted by legionofangels (Post 1630263)
He probably didn't remove the grab "mypoll.php" line from the index when you looked. Then we think our server got really busy for a second.

Another concept here that might be totally off is that maybe we have conflicting codes on the page.

As you are testing just the poll code, not the other code we have next to it, or that one showing recent posts. I think I'm wrong but I'm throwing it out there.

I've got the whole source that you posted in this thread on my test site.

Something you could try is changing your path in your include statement:
include('./mypoll.php');
or
include('/home/yoursite/mypoll.php');

legionofangels 09-25-2008 08:14 PM

Quote:

Originally Posted by Lynne (Post 1630283)
I've got the whole source that you posted in this thread on my test site.

Something you could try is changing your path in your include statement:
include('./mypoll.php');
or
include('/home/yoursite/mypoll.php');

Is that what you did?

Lynne 09-25-2008 08:19 PM

Quote:

Originally Posted by legionofangels (Post 1630378)
Is that what you did?

Well, no, cuz I can't. I had to do a direct link:
include('http://www.legionofangels.net/mypoll.php');

Dismounted 09-26-2008 05:37 AM

It's empty now... Attempts to access mypoll.php directly come back with a 404.

legionofangels 09-26-2008 12:47 PM

Quote:

Originally Posted by Dismounted (Post 1630628)
It's empty now... Attempts to access mypoll.php directly come back with a 404.

That's because we temporarily removed it to finish the other coding and CSS on the front page redesign (part 1). Part 2 is just related to the blog.

Anyways, this is the site that I found it on:

http://www.sportsrant.com/

Of which that is the dude I got it from the owner of that site. He actually has a flash poll modification here at vb.org but he said that isn't the one on his page when I added him to msn. I just wanted to ask, because I was like, that doesn't look like flash to me. It looks like vb normal code ( < you know what i mean ).

The issue with his code that I don't like is that when you vote it takes you to the thread, I'd rather it sit still and let you see the results on the front page. If you go back to the Home page and/or hit refresh you'll see the results on the front page knowing that you've voted, probably a cookie doing that. Any poll system on any site such as nfl.com which I frequent a lot of FOX Sports automatically shows you the results, kind of like flash but it could be done with Java I bet and others perhaps.

But there is no point of me getting into how I'd like it to work if I can't even get it to work.

As I said we stopped only temporarily on this, I haven't seen the coder I hire for $ in like 2 weeks online, so I can't ask him to just step in and fix this.

----------------------------------------------------------------

HOWEVER,

What I've determined or am wondering on your opinions is where the error actually is. See I obviously believe in my semi-experienced site coder however he is not an expert and maybe there is a coding error on the front page that is conflicting with the script. OR maybe the codes we have up for latest posts in certain forums conflict with the poll code.

All I know is an HTML error trying to access or open 2 pages on the same page doesn't make sense. ( it's true obviously but why would the poll code do that? )

I know that if it works on your guys test sites but doesn't work on my existing site tells me something is wrong and I can't find the conflict.

I'd like to run my stuff or my page with it on, in one of those HTML examiners to see if it can tell me what the heck is wrong.

In short what I'm trying to say is, I don't know what the error even is to fix it, and I don't understand why it's creating that HTML error. I contacted vBSEO as well because it says on the front page when the error occurs, Search Engine Friendly, etc. and I said your URL for vBSEO should not even be appearing on my front page. They are willing to go in the FTP and make sure that the vBSEO and vBSEO sitemap are working fine, but if they are, then it's not the SEO doing something.

Again, still looking for the light in the tunnel here.

P.S. I'm aware from another thread that vb.org will not release it's front page poll system and that is fine. Be advised though that I'd gather our codes are extremely similar if not exact...minus whatever error is occurring and I fully intend whether I have to pay for this code or not to release this here on .org so that all forum owners have the option of poll on front page. It gives users the opportunity to create there own CMPS basically with an add on such as poll, posts, or whatever, without having to just go get VB Advanced. So I'm eventually going to figure this out and release it.

Especially after all you're help and nearly 40 posts.

Tact7626 09-26-2008 04:59 PM

i think something with vb is prolly not playing well with his poll. did you ever check what version of vbulletin the guy who created the poll is running?

only now do i realize, if were getting vbseo messages in the error message. that's ONE clue that it's the forum mucking things up.

the second clue was how i had to go into vbulletin, and remove the header and footer from the error template to "kinda" get it to work.

so in the end. i think our front page is perfectly legit and free and clear of any possilbe "conflicts" it would make. and i would instead blame VBULLETIN as the one doing all this.

maybe vb and his poll just ain't the right version numbers? can't play along? idk. that's where i stand now.


All times are GMT. The time now is 07:50 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.01281 seconds
  • Memory Usage 1,751KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (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