Welcome to Geeklog, Anonymous Thursday, April 25 2024 @ 08:57 pm EDT

Geeklog Forums

Error Message


Status: offline

thefilmmaker

Forum User
Regular Poster
Registered: 10/18/04
Posts: 105
angry
I have just copied my geeklog directory onto my new website and have got this message. I have change the [my_URL] to the new address in the config file and I think in the lib-common file, but I get this message when I try to access the geeklog directory:

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/sites/best-entertainment.co.uk/public_html/index/lib-common.php on line 4300

What does it mean - Can I fix it.

I would be very thankful for any replies.
 Quote

Status: offline

knuff

Forum User
Full Member
Registered: 12/17/04
Posts: 340
Location:Sweden
here you go
Vanrillaer.com - our Family Portal
 Quote

Status: offline

thefilmmaker

Forum User
Regular Poster
Registered: 10/18/04
Posts: 105
I just did that and now I get this message:

Warning: mysql_connect(): Access denied for user 'cms_31'@'localhost' (using password: YES) in /home/sites/best-entertainment.co.uk/public_html/index/_files/system/databases/mysql.class.php on line 108
Cannnot connect to DB server

Anyone any idea on how to fix it?
 Quote

Status: offline

knuff

Forum User
Full Member
Registered: 12/17/04
Posts: 340
Location:Sweden
This means that your database user is not correct.

You should check in config.php that your database settings are correct.
Especially if you copied them from a different website, you will have to change these to the new database settings.

Best Regards,
Boris
Vanrillaer.com - our Family Portal
 Quote

Status: offline

thefilmmaker

Forum User
Regular Poster
Registered: 10/18/04
Posts: 105
Database settings??? Where can I change these? I change the config file to be correct, but what other settings need to be changed?
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany

Status: offline

thefilmmaker

Forum User
Regular Poster
Registered: 10/18/04
Posts: 105
angry
I may sound stupid, but I need to ask you for more help. I have found out that I did not have a my_sql set up!!! So I set one up and put the new user_name and passowrd into the config file at the right place. Then I tried it again. Now I get this message:

An SQL error has occured. Please see error.log for details.

I have looked at the config file, but I dont understand what it is asking. A copy of the error.log file can be found here if you would like to view the log. Please continue to help.

I would be thankful for any replies.
 Quote

Status: offline

beewee

Forum User
Full Member
Registered: 08/05/03
Posts: 969
Location:The Netherlands, where else?
Seems installing did not go 100% correct. Delete the database, make a new database with same name/user/pass and run the installscript again. 5 minutes work, so it's worth trying.
Dutch Geeklog sites about camping/hiking:
www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net
 Quote

Status: offline

thefilmmaker

Forum User
Regular Poster
Registered: 10/18/04
Posts: 105
How do I run the intall script again?
 Quote

Status: offline

ofey

Forum User
Full Member
Registered: 03/18/05
Posts: 213
Location:Dublin, Ireland
happy
In the address bar just type,

http://yourgeeklogsite/admin/install/install.php

Regards,

Ofey
Those who say it can't be done, are usually interrupted by others doing it.
 Quote

Status: offline

thefilmmaker

Forum User
Regular Poster
Registered: 10/18/04
Posts: 105
blank
I dont have a folder called install, nor a file called install.php???

Well I'm about to give up - The reason I want to be able to move the site to the new address is so that I wouldn't have to redo all the content again!!!

If anyone has any ideas, please let me know. If not then I'll just install Geeklog again - though I hope I wont have to!!! You see I have had this site running perfectly before and now I have to move it to a different domain name, so I copied my geeklog directory folder over to my hard drive and copied it back onto the new site's FTP. Now I have had all these problems with it. You have helped me solve the first few, but does anyone know how to fix the current one.

In one of my other postings in this thread there is a link to a copy of the error.log file which it tells me to look at in the current message I get when trying to access my site which is:

An SQL error has occured. Please see error.log for details.

Anyone get any ideas?
Please keep helping.

Thanks.
 Quote

Status: offline

thefilmmaker

Forum User
Regular Poster
Registered: 10/18/04
Posts: 105
I'm just going to reinstall it again. Thank you all for your help.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by thefilmmaker: I dont have a folder called install, nor a file called install.php???

I would hope so, since you're asked to remove it after the initial install Mr. Green

Btw, did you see this FAQ entry? Migrating a Geeklog site

bye, Dirk
 Quote

Status: offline

ofey

Forum User
Full Member
Registered: 03/18/05
Posts: 213
Location:Dublin, Ireland
Couldn't you just download GL extract everything from it. Find the install.php file from that extraction and put it into your directory. I don't know if this works, but it sounds like it should.

Good luck,

Ofey
Those who say it can't be done, are usually interrupted by others doing it.
 Quote

Status: offline

thefilmmaker

Forum User
Regular Poster
Registered: 10/18/04
Posts: 105
Thanks agin for the advice, but Ive gone ahead and redone it. I did not install Geeklog myself so I dont really know anything the install file.

I have had it done anyway. Thanks again for all the help you gave.

Bye.
 Quote

All times are EDT. The time is now 08:57 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content