xoops forums

chefry

Home away from home
Posted on: 2013/1/6 11:04
chefry
chefry (Show more)
Home away from home
Posts: 1005
Since: 2006/10/14
#1

problem with xoops path

I want to completely rebuild one of my old websites, which i think was xoops 2.43 or 2.4.5

I'm trying to run a backup copy on Xampp but I keep getting an error

Parse error: syntax error, unexpected 'XOOPS_PATH' (T_STRING) in C:\xampp\htdocs\znachok\mainfile.php on line 27

I've tried various configurations for that line. Right now it's

// Physical path to the XOOPS library directory WITHOUT trailing slash
define( 'XOOPS_PATH', 'C:/xampp/htdocs/znachook/xoops_lib' );

I need informaiton and category structures from the old site so I can build the new one. So... can someone tell me what it's supposed to be?

TIA

trabis

Core Developer
Posted on: 2013/1/6 18:36
trabis
trabis (Show more)
Core Developer
Posts: 2268
Since: 2006/9/1 1
#2

Re: problem with xoops path

Please make sure you have all open ( closed with a )
If you could post the entire mainfile it would be easier to spot the error.