This is a discussion on Up The Creek WO/Paddle After Trying to Add Dynamic Page! within the osCMax v2 Customization/Mods forums, part of the osCMax v2.0 Forums category; http://wiki.oscdox.com/adding_new_dynamic_content_pages above is the page where I followed the instructions to a tee. Below are the errors I am getting ...
| |||||||
| Register | FAQ | Donate | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| http://wiki.oscdox.com/adding_new_dynamic_content_pages above is the page where I followed the instructions to a tee. Below are the errors I am getting within the admin panel.... Parse error: syntax error, unexpected ')' in /home/pppcom/public_html/autos/admin/includes/boxes/catalog.php on line 48 I get this error when I try to go to "File Access" under Administrator. 3. Enable access to the file Add access to define_about.php in the administrator menu by enabling file access
Clicking on catalog does nothing. Below are the errors I am getting on the website; Warning: include(includes/languages/english/define_mainpage.php) [function.include]: failed to open stream: No such file or directory in /home/pppcom/public_html/autos/templates/dotcom_6/main_page.tpl.php on line 191 Warning: include(includes/languages/english/define_mainpage.php) [function.include]: failed to open stream: No such file or directory in /home/pppcom/public_html/autos/templates/dotcom_6/main_page.tpl.php on line 191 Warning: include() [function.include]: Failed opening 'includes/languages/english/define_mainpage.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/pppcom/public_html/autos/templates/dotcom_6/main_page.tpl.php on line 191 Any help or helpful suggestions will be greatly appreciated. |
|
#2
| ||||
| ||||
| Are you using osCMax? Those instructions in the wiki are for osCMax only, but you have posted this to the standard osCommerce forum. So first clarify what shopping cart you are using (osCommerce or osCMax), then we can attempt to help you.
__________________ Michael Sasek osCMax Developer *** Do not PM me requesting paid help. The only paid work I do is for AABox Web Hosting customers *** Stay Up To Date with everything osCMax: Free osCMax Newsletters - Security notices, New Releases, osCMax News osCMax on Twitter - Up to the minute info as it happens. Know it first. osCMax User Manual - osCMax Templates - Advanced Template Tutorial |
|
#3
| |||
| |||
| at top of my page in the address bar it was reading oscmax.com/forums. when i go to oscmax.com and click on the forums, am I being redirected to an oscommerce forum page? if so, why are they both so similar? Last time I posted and thought it was an oscmax forum, you said that i was in oscommerce, but yet I began from oscmax.com and clicked forums!... what am I doing wrong? I am running oscmax, latest version, fairly fresh install within the last month. any help will be greatly appreciated... thanks again, Jim |
|
#4
| ||||
| ||||
| You are in this section: osCommerce 2.2 Forums ![]() Post the contents of /home/pppcom/public_html/autos/admin/includes/boxes/catalog.php (use the # symbol on the menu bar to enclose the code). Line 48 (and just above) bears no resemblance to your error message - so it looks as though you may have overwritten the wrong file. includes/languages/english/define_mainpage.php Can't find that file, basically 'cos there shouldn't be one there. Looks like you messed things up badly... You did take a backup?
__________________ Hosting plans with installation, configuration, contributions, support and maintenance. |
|
#5
| ||||
| ||||
| Quote:
__________________ Michael Sasek osCMax Developer *** Do not PM me requesting paid help. The only paid work I do is for AABox Web Hosting customers *** Stay Up To Date with everything osCMax: Free osCMax Newsletters - Security notices, New Releases, osCMax News osCMax on Twitter - Up to the minute info as it happens. Know it first. osCMax User Manual - osCMax Templates - Advanced Template Tutorial |
|
#6
| |||
| |||
| ridexbuilder, I see what you are saying about the "define_mainpage.php" . However; I am using a template from dotcombuilder and I went back to the original install and found reference of FILENAME: define_mainpage.php throughout various pages from the original install, but there is no " includes/languages/english/define_mainpage.php" file in the original structure either, but it worked fine before I tried to add a dynamic page following the instructions given. I have went back and tried to undo what i did, most my site is back online, but still screwed up. I would love to recover at least the text from my homepage... any ideas? Thanks |
|
#7
| ||||
| ||||
| Quote:
[With a massive leap in imagination...] Look in catalog/includes/languages/english/mainpage.php
__________________ Hosting plans with installation, configuration, contributions, support and maintenance. Last edited by ridexbuilder; 01-26-2010 at 11:05 PM. |
|
#8
| |||
| |||
| Well, would you believe that I straightened that mess out, got the code cleaned up, no losses whatsoever, site's back up and working good as ever! If I wasn't the originator of the mess to begin with I'd almost be proud of myself! lol... thank you guys for trying to help. |
|
#9
| ||||
| ||||
| Good to hear. Have a look in the wiki, to become more acquainted with 'Max.
__________________ Hosting plans with installation, configuration, contributions, support and maintenance. |
|
#10
| |||
| |||
| actually you are right ridexbuilder, no arguements here. The code is all but unusable GARBAGE! but I liked the template layout, style and colors is why I wanted it and am using. Someday in the future when the site takes off and is supporting itself, I will hire a professional programming to completely revamp the site... For now, I will have to settle with doing things the hard way.... thanks for the reference to mainpage.php, but I found it... I was in wrong directory at mainpage.php first time round... |
![]() |
| Tags |
| dynamic pages |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how to center dynamic mopics in product info page | MrE03 | osCMax v2 Customization/Mods | 7 | 11-11-2009 01:48 PM |
| Confirmation Page takes me back to Payment Page | Dubious | osCMax v2 Installation issues | 1 | 10-20-2006 02:04 PM |
| Product detail page as the home/main page??? | sukarya | osCommerce 2.2 Modification Help | 1 | 02-17-2006 05:21 AM |
| Show manufacturer's name on product page, not category page | kellbot | osCMax v1.7 Discussion | 0 | 04-25-2005 04:57 AM |
| Dynamic MO pic | CookieMonster | osCMax v1.7 Discussion | 6 | 02-25-2004 01:26 PM |