forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: etnies on January 20, 2007, 08:29:35 am

Title: Warning: Unterminated comment....
Post by: etnies on January 20, 2007, 08:29:35 am
Warning: Unterminated comment starting line 847 in /home/song16/public_html/gallery/index.php on line 847

Parse error: syntax error, unexpected $end in /home/song16/public_html/gallery/index.php on line 847


I was trying to add the "who's online" mod, but had some trouble with the index.php file. Those ^^ are the errors I have received, and for some reason I can't find out whats wrong..
I have attached my file if anyone is kind enough to check it out and let me know what the problem is :)
Title: Re: Warning: Unterminated comment....
Post by: François Keller on January 20, 2007, 09:12:21 am
Quote
I was trying to add the "who's online" mod
why don't you use the who's online plugin ? http://forum.coppermine-gallery.net/index.php?topic=26532.0 (http://forum.coppermine-gallery.net/index.php?topic=26532.0)
Title: Re: Warning: Unterminated comment....
Post by: Joachim Müller on January 20, 2007, 10:49:57 am
Not an issue with initial coppermine install, moving thread accordingly.
Title: Re: Warning: Unterminated comment....
Post by: etnies on January 20, 2007, 09:16:19 pm
Okay, I could try that.
But I need to fix my index.php document.. and I don't know whats wrong.
Can someone please help?
Title: Re: Warning: Unterminated comment....
Post by: kegobeer on January 20, 2007, 09:41:42 pm
Just upload a fresh copy and overwrite the one on your website.
Title: Re: Warning: Unterminated comment....
Post by: etnies on January 20, 2007, 09:47:44 pm
I tried doing that, but when I went to the gallery, it appeared blank. Nothing. No errors, no gallery, just a blank page.. anyone know why?
Title: Re: Warning: Unterminated comment....
Post by: kegobeer on January 21, 2007, 03:56:11 pm
Well, I would start by making sure all of the Coppermine files are uploaded to your site.  Next, I would check config.inc.php and make sure the database information is correct.  I would also check permissions to make sure they are correct.

Make sure that you are using the same Coppermine version.  If you are running 1.4.10, you have to use 1.4.10 files.
Title: Re: Warning: Unterminated comment....
Post by: etnies on January 21, 2007, 05:02:09 pm
I checked both these, and both were correct. However, it says in my index.php that it is version 2.4.2 ...
does anyone have the index.php file for that version?
Title: Re: Warning: Unterminated comment....
Post by: Nibbler on January 21, 2007, 05:03:18 pm
Update your gallery to latest stable.
Title: Re: Warning: Unterminated comment....
Post by: etnies on January 22, 2007, 01:21:25 am
Is there a way to upgrade, without having to just install the new one? So I don't lose my categories, albums, and files?
Title: Re: Warning: Unterminated comment....
Post by: Nibbler on January 22, 2007, 01:24:05 am
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm
Title: Re: Warning: Unterminated comment....
Post by: etnies on January 22, 2007, 03:16:05 am
I followed the instructions, etc. Now when I go to my gallery, its blank. Nothing.