| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Page Title in 4.2 | ||||
|
|
Thread Tools | Search this Thread |
#21
|
|||||||||
|
|||||||||
Re: Page Title in 4.2
You have to have comma after each element of the array except for the last one. Put comma after
Code:
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#22
|
|||||||
|
|||||||
Re: Page Title in 4.2
Thanks!
Now I have to go back and add commas to the rest of the .php files =( But at least I know what's wrong and how to fix it. I was afraid I'd have to go back and undo all the changes I just made. Again, thanks, both for your addressing my question and also for this modification.
__________________
version 4.4.2 |
|||||||
#23
|
|||||||
|
|||||||
Re: Page Title in 4.2
Oops, sorry, never mind, I was responding to second page of thread not seeing it had already been answered on 3rd page.
|
|||||||
#24
|
|||||||
|
|||||||
Re: Page Title in 4.2
Apparently I have messed up the import_categories.php file as well. I get the following error when trying to reach the import page:
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /public_html/*edit*.com/include/import_categories.php on line 78 Here is my code, hopefully I included enough of it for assistance. Code:
Line 77, 78, and 79: Code:
Thanks,
__________________
version 4.4.2 |
|||||||
#25
|
|||||||||
|
|||||||||
Re: Page Title in 4.2
You need comma (,) after "category_page_title" => array()
When I wrote that mod "category_page_title" => array() was the last call in the array. It look like for 4.2.2 they have added more elements into the array. Remember - array elements are separated by comma (,), no comma after the last one
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#26
|
|||||||
|
|||||||
Re: Page Title in 4.2
Thank you. I have added a comma (see code below), but now get the same error for line 84. I guess I'm having trouble finding where to add/remove commas. I've added/removed them from a few different places now and each time gives me an error on a different line.
Code:
Line 83, 84, 85: Code:
__________________
version 4.4.2 |
|||||||
#27
|
|||||||||
|
|||||||||
Re: Page Title in 4.2
I did not see this in when I answered before. It seems like my original instructions are not easy to follow, sorry. You are adding the code in the wrong place. It is not supposed to go right after
Code:
Code:
so the code will look like this Code:
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#28
|
|||||||
|
|||||||
Re: Page Title in 4.2
Still getting:
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /public_html/*edit*.com/include/import_products.php on line 84 Code: Code:
__________________
version 4.4.2 |
|||||||
#29
|
|||||||||
|
|||||||||
Re: Page Title in 4.2
Attach the entire import_categories.php file here. You may need to rename it to .txt or something else
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#30
|
|||||||
|
|||||||
Re: Page Title in 4.2
Here it is. Thank you for looking into this.
__________________
version 4.4.2 |
|||||||
|
|||
X-Cart forums © 2001-2020
|