Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > Premium Archives > vBadvanced CMPS
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Small prob? Details »»
Small prob?
Version: , by valentine valentine is offline
Developer Last Online: Mar 2007 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 01-05-2005 Last Update: Never Installs: 0
 
No support by the author.

(Sorry, posted this in the main vbulletin.org forum before I saw this one)


I'm having a problem with this.

When I point the browser at the installation script, I get :

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

I'm v3.0.4.

Have I done something obviously wrong?

I get the same error when I go to:

http://www.mydomain.com/admincontrol to log in to the management console

(Yes, I have changed 'admincp' to 'admincontrol' - is there something else I need to change in the script because of this??)

I thought I'd followed everything to the letter - any help gratefully received - thanks.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 01-05-2005, 01:12 PM
WhSox21 WhSox21 is offline
 
Join Date: Feb 2004
Posts: 328
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In your functions.php you should check out line 1900-1920. There is something missing. Most common things that are missing or added are commas or semi-colons. Just double check your installation instructions and check to see if everything is right in your ./includes/functions.php file.
Reply With Quote
  #3  
Old 01-05-2005, 02:12 PM
Tigga's Avatar
Tigga Tigga is offline
 
Join Date: Dec 2001
Location: Atlanta
Posts: 1,061
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Get a fresh, un-hacked version of your functions.php file and re-apply the changes using a simple text editor. Do not use Dreamweaver or any similar programs as they have been known to cause problems.
Reply With Quote
  #4  
Old 01-05-2005, 07:09 PM
valentine valentine is offline
 
Join Date: Jan 2005
Location: Cambridge, UK
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for your replies.

I've spent the best part of the last 2 hours going through everything in painstaking detail, took everything back to original settings etc (had kept a copy of original files) then went back through the procedure again and re-edited it all.

Went to run install script from browser...

Same problem : line 1910 in functions.php

This line doesnt even get edited!!!! How can there be a problem?

If anyone can shed any more light on this I would really appreciate it.
Thanks.

EDIT:One thing though - when I browse to my home page (forums and CMPS in same directory) there's just a list of the files as if the domain has nothing on it at all - you can just browse through the directories.

Also - one of the mods in the readme file - where you replace the script below:

function construct_calendar_output($today, $usertoday, $calendarinfo, $fullcalendar = 0, $weekrange = '')
{
global $birthdaycache, $eventcache, $bbuserinfo, $vbphrase, $stylevar, $show, $offset, $colspan, $days, $months, $show;

on my version (3.0.4) the $show; variable at the end isnt there when I start to edit the file in the first place.
Reply With Quote
  #5  
Old 01-06-2005, 06:12 AM
valentine valentine is offline
 
Join Date: Jan 2005
Location: Cambridge, UK
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, I look pretty stupid now...

I had been editing my templates in Dreamweaver MX2004... didnt see your bit about not using that.

Edited them in Notepad instead...

Installed fine...

Thanks for your help everyone. :classic: I have a further problem but i'll post it at vbadvanced.
Reply With Quote
  #6  
Old 01-12-2005, 04:27 AM
mholtum's Avatar
mholtum mholtum is offline
 
Join Date: May 2004
Location: Arizona
Posts: 697
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have heard that about Dreamweaver a few times and I find that interesting. I did have problems with it in the older versions of DW, but when I started using Macromedia Studio MX 2004 with DW version 7.1 I haven't had a single issue. I do all my hacks for CMPS and VB in it. I have yet to have a single issue.
Reply With Quote
  #7  
Old 01-12-2005, 06:34 PM
WhiteOx2 WhiteOx2 is offline
 
Join Date: Nov 2003
Location: Newcastle, Australia
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I use UltraEdit, never had a problem.
Reply With Quote
  #8  
Old 01-13-2005, 11:35 PM
syedakm syedakm is offline
 
Join Date: Sep 2003
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In your /forum/includes/functions_calendar.php file:

function construct_calendar_output($today, $usertoday, $calendarinfo, $fullcalendar = 0, $weekrange = '')
{
global $birthdaycache, $eventcache, $bbuserinfo, $vbphrase, $stylevar, $show, $offset, $colspan, $days, $months, $show;

In my actualy file I never saw $show at the end of the line, but I did the edit anyway, could it be the problem I am getting the same error.
Reply With Quote
  #9  
Old 01-13-2005, 11:37 PM
syedakm syedakm is offline
 
Join Date: Sep 2003
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

never mind it worked, it was the editor.... weird, never had this issue, by the way I was also using the dreamweaver.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:51 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.07258 seconds
  • Memory Usage 2,275KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (8)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • 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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete