Welcome to Geeklog, Anonymous Saturday, December 21 2024 @ 01:07 pm EST

Geeklog Forums

Parse Error - Migrating - Upgrading


gdl

Anonymous
Hello,

Text Formatted Code
Parse error: syntax error, unexpected T_STRING in /var/www/vhosts/mediavisioninc.net/backend/config.php on line 57


I was moving yet another Geeklog site to my new server. This site is running GL 1.4.1 . After adjusting all of the paths in the config, checking the perms and all is well, I was getting the error above.

I figured I would upgrade to the latest version of GL 1.6.1 hoping to fix the issue, but during the upgrade I get the same error. Reviewing the old config.php from 1.4.1 which the 1.6.1 installer is reading, I see that line 57 has to do with the database prefixes. Not sure what to do here. The prefix looks correct.

Text Formatted Code

55 // The table prefix is prepended to each table used by Geeklog to avoid name
56 // collisions with other tables that may already exist in your database.
57 $_DB_table_prefix = 'gl_';         // e.g. 'gl_'


Only one more site left after this one to move. :pray: I am so ready to get back to design and theming. Thanks for any help you can give.

-gdl
 Quote

Status: offline

suprsidr

Forum User
Full Member
Registered: 12/29/04
Posts: 555
Location:Champaign, Illinois
Look at the lines above for a missing semi-colon or quote.

-s
FlashYourWeb and Your Gallery with the E2 XML Media Player for Gallery2 - http://www.flashyourweb.com
 Quote

gdl

Anonymous
Thanks for the direction but still no go. It matches the same config.php from the other server which was working before the DNS transfer. The same files and DB are on the new server. Though the version of MySQL on the server may be newer, this hasn't effected other sites that were transferred.

I cut and pasted the lines 55-57 here from the config.php. Not sure what it would be missing.

-gdl
 Quote

gdl

Anonymous
Something fixed something. LOL I'm at a loss. Tried the installer again to upgrade and it worked this time.

Theme seems to work fine too.

Happy Joy Joy!


Eerrrm... Theme needs some work, but simple enough to get it upgraded to 1.6.1.
 Quote

guest

Anonymous
Quote by: gdl

Something fixed something. LOL I'm at a loss. Tried the installer again to upgrade and it worked this time.

Theme seems to work fine too.

Happy Joy Joy!


Eerrrm... Theme needs some work, but simple enough to get it upgraded to 1.6.1.



wow! you have a very nice theme. Geeklog is the perfect CMS for professional user.

hope Geeklog stay forever......
 Quote

gdl

Anonymous
Thanks for the compliment. I have one more Geeklog site to transfer then I hope to be working on themes more. Then finally release them to the community from my site and also here.

Understandably I had to scrap the 1.4.1 theme and instead adjust the Professional theme from 1.6.1. Mostly just cut and pasted some code from the header.thtml and footer.thtml and adjusted some colors. Only took about an hour.

-gdl
 Quote

All times are EST. The time is now 01:07 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