Scarab Posted May 8, 2008 Share Posted May 8, 2008 HELP! I have an online webshop, but I am having a problem with it: it can not resolve some variables. I.e. I have defined a variable 'VARIABLE_TO_RESOLVE' which has the value 'resolved_' in the configure.php. I put it into the database_tables.php: VARIABLE_TO_RESOLVE . 'database_table'. The outcome should look like this: resolved_database_table, but it looks like this: VARIABLE_TO_RESOLVEdatabase_table. If I want it to work I have to hardcode 'resolved' into the file. I also have some other oddities in the webshop's working, which I suspect is caused by this problem. This problem is only present in the front-end, the webshop's back-end part is working properly! I hope I was clear enough, so if you have any ideas please tell me! Thx in advance! Link to comment Share on other sites More sharing options...
arietis Posted May 8, 2008 Share Posted May 8, 2008 HELP! I have an online webshop, but I am having a problem with it: it can not resolve some variables. I.e. I have defined a variable 'VARIABLE_TO_RESOLVE' which has the value 'resolved_' in the configure.php. I put it into the database_tables.php: VARIABLE_TO_RESOLVE . 'database_table'. The outcome should look like this: resolved_database_table, but it looks like this: VARIABLE_TO_RESOLVEdatabase_table. If I want it to work I have to hardcode 'resolved' into the file. I also have some other oddities in the webshop's working, which I suspect is caused by this problem. This problem is only present in the front-end, the webshop's back-end part is working properly! I hope I was clear enough, so if you have any ideas please tell me! Thx in advance! your description is a little hard to follow and doesn't include how you are declaring things. please post the code you are using and which files that code is contained in. you don't have to post the whole configure.php, only the portion that you've changed. same with database_tables.php. also remember that application_top.php includes configure.php *before* database_tables.php. so if configure.php is dependent on something declared in database_tables.php - it doesn't exist yet. you might need to change where you are defining some of these things. Link to comment Share on other sites More sharing options...
Scarab Posted May 9, 2008 Author Share Posted May 9, 2008 Sorry, fatal user error (I could not overwrite the configure.php). No solution for stupidity, but for the website yes... your description is a little hard to follow and doesn't include how you are declaring things. please post the code you are using and which files that code is contained in. you don't have to post the whole configure.php, only the portion that you've changed. same with database_tables.php. also remember that application_top.php includes configure.php *before* database_tables.php. so if configure.php is dependent on something declared in database_tables.php - it doesn't exist yet. you might need to change where you are defining some of these things. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.