vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   uCash & uShop (https://vborg.vbsupport.ru/forumdisplay.php?f=100)
-   -   Error in functions (https://vborg.vbsupport.ru/showthread.php?t=82377)

clasione 06-02-2005 01:46 AM

Error in functions
 
I've got an error in functions.php

Anyone around to through some ideas out there?

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/domain41/public_html/includes/functions.php on line 2025

This is line 215 to 230:

PHP Code:

{
            foreach(
$DEVDEBUG AS $debugmessage)
            {
                
$messages .= "\t<option>" htmlspecialchars_uni($debugmessage) . "</option>\n";
            }
        }

        
$debughtml =  '<hr />';
        
//$debughtml .= "<ul><a href=\"#\" onclick=\"set_cookie('vbulletin_collapse', ''); window.location=window.location\">vbulletin_collapse</a>:<br /><li>" . str_replace("\n", '</li><li>', $_COOKIE['vbulletin_collapse']) . "</li></ul>";
        
$debughtml .= "\n<form name=\"debugger\" action=\"\">\n<div align=\"center\">\n<!--querycount-->Executed <b>$query_count</b> queries<!--/querycount-->" iif($_TEMPLATEQUERIES" (<b>" sizeof($_TEMPLATEQUERIES) . "</b> queries for uncached templates)"'') . " . ";
        
$debughtml .= " (<a href=\"" htmlspecialchars_uni(SCRIPTPATH) . iif(strpos(SCRIPTPATH'?''?')'?')'?')'?')'?')'?')'?')'?')'?')'?')'?')=== false'?''?','?','?','?','?','?','?','?','?','?','?','&amp;') . "tempusage=1\">Template Usage</a>) (<a href=\"" htmlspecialchars_uni(SCRIPTPATH) . iif(strpos(SCRIPTPATH'?''?')'?')'?')'?')'?')'?')'?')'?')'?')'?')'?')=== false'?''?','?','?','?','?','?','?','?','?','?','?','&amp;') . "explain=1\">Explain</a>)<br />\n";
        
$debughtml .= "<select>\n\t<option>(Page Generated in $totaltime Seconds)</option>\n$messages</select>\n";

        if (
is_array($tempusagecache))
        { 

Ucs 095

VB 3.0.7

ok

___

so far so good, this was it...

If you are getting php errors!

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

If you are getting undefined function errors please start with a fresh copy of the file and rehack it using another text editor.

Programs that are known to cause problems when editing php files

1. Dreamweaver
2. Microsoft Frontpage


All times are GMT. The time now is 11:47 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.00974 seconds
  • Memory Usage 1,728KB
  • 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_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (1)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