, Guest!
Already a Member? Login or Register.

Menu



Showcase


Due to the volume of spam happening on our forums, posting is now restricted to verified members only.  If you're not verified, drop us a note with your username.

Home > FlexCMS Support Forum > Recent Messages

FlexCMS Support Forum


Recent Messages

Previous Page Next Page

User Help > General Support Requests > script not displaying (Go To Message)
 
script not displayingOctober 18, 2008 @ 7:28am
Hi
Have the following problem, trying to add this script
<script language="javascript" src="http://b.travelsearchresults.com/flights/searchbox.aspx?s=200x230&a=146354&r=groves&t=1,0,0,0&c=021484,FFFFFF&text=Flight+++++++++Search&text2=Compare+++++++++prices+of+flights+from+100%2527s+of+the+UKs+top+airlines+and+flight+operators+++++++++and+book+directly+with+them.&fixedDeptPt=|&fixedArrPt="></script>
however its not displaying on site, www.grovesgarage.com and Also pages pasted into the editor, (copied and pasted from a site) are displayed as text not html
This has only been apparent for 1 week

Appreciate some help on this
thanksAngry
User Help > General Support Requests > Counter & Stats Errors (Go To Message)
DCSun
 
October 14, 2008 @ 8:04pm
What version of PHP are you using (I presume it's 5)?

We don't have that error anywhere else that I know of. Would you be willing to give us access to your site (FTP/database/Flex site) to sort that out?


David
User Help > General Support Requests > Counter & Stats Errors (Go To Message)
Grady
 
Counter & Stats ErrorsOctober 14, 2008 @ 2:28pm
I am getting the following error when I click on Page Views by Page.

Fatal error: Cannot use string offset as an array in /home/i22al/public_html/inc-cs-admin-stats_pages.php on line 367

I also get the following when I click on Referring Pages.
Fatal error: Cannot use string offset as an array in /home/i22al/public_html/inc-cs-admin-stats_referrals.php on line 79

What can I do to correct these errors?
User Help > General Support Requests > SAFE MODE Error Site is Down (Go To Message)
DCSun
 
October 7, 2008 @ 12:07am
That's got to be a permission or ownership thing with your website. Can you create a new something.php that just prints a quick message (such as (<? print 'hello'; ?>), and see what that does. If it works okay, compare the permissions and file ownership.


David
User Help > General Support Requests > SAFE MODE Error Site is Down (Go To Message)
brendanrehman
 
Language FilesOctober 6, 2008 @ 10:17pm
I do have all the required files in the folder...

inc-core-lang-english.php
index.html

Here's the funny thing though. I log in via SSH and run php index.php and it works. Dumps the output to the screen.

Thanks,
Brendan
User Help > General Support Requests > SAFE MODE Error Site is Down (Go To Message)
DCSun
 
October 6, 2008 @ 1:51pm
So do you actually have a "languages" folder with the "inc-core-lang-english.php" file in it, and it just can't read the file, or are those not there?


David
User Help > General Support Requests > SAFE MODE Error Site is Down (Go To Message)
brendanrehman
 
Language FilesOctober 6, 2008 @ 1:39am
Hi,

Sorry its been a while since I posted... I was moving to Colorado.

Anyway I still get the following error even after downloading the all files zip file.

Error. Language files could not be loaded.

Please see http://www.freeyourpower.com

Your assistance is appreciated.

PS

After the install I chown'ed the files/dirs to the correct username. It still didnt work so I deleted all the files but the settings file and uploaded the zip file from the link you sent me.

Thanks,
Brendan
User Help > General Support Requests > Bread Crumb Links (Go To Message)
DCSun
 
October 4, 2008 @ 12:32pm
Unfortunately there's no easy way to make the breadcrumbs appear any differently than they do now, because FlexCMS doesn't know how the pages are arranged. It's something we'd like to get in a future version, but it's a complicated problem.

Regarding your error, that's probably because you mixed PHP and HTML in the same page, and the HTML caused problems when it tried to interpret that as PHP code. You'll need to leave the page PHP enabled to make the $LocationBar part work, but you can turn PHP off for the rest of it or just certain parts of it, to use regular HTML. You do that by placing ?> at the start and <? at the end, such as this:
Code

$LocationBar = '<a href="'.$BaseURL.'">Home</a> > <a href="'.$MainURL.'/pages/mypage.html">Page Above</a> > This Page';

/*
everything outside the PHP control tags is still processed as PHP
*/

?>

<!-- any HTML code you want goes here -->

<?

/*
this is now PHP again in this section, but it could be right at the end, there doesn't need to be anything in here.
*/



There's also no requirement to have those comments of mine, I just added them to illustrate what happens in those places. All you need is the ?> and <? tags around your HTML and you're all set. You could also have them in there more than once if you needed PHP to happen in between sections of HTML.


David
User Help > General Support Requests > Bread Crumb Links (Go To Message)
Grady
 
Global variablesOctober 4, 2008 @ 10:06am
Are there any global variables that could be used in the template.php page to make all pages have bread crumbs?
User Help > General Support Requests > Bread Crumb Links (Go To Message)
Grady
 
October 4, 2008 @ 9:30am
The code works when php is enabled and the code is placed in Custom Page Contents block as long as everything else (i.e., all of my content) is removed.

Previous Page Next Page





Try & Buy FeedForAll - Easy to use RSS Feed Creator - great for iTunes users!

MEMBERS




All Contents, Code, Scripts and Technologies Copyright 2003-2009 FlexCMS.
All Rights Reserved. Software License Agreement

Processing Time: 0.20107 seconds.
 
Management Login

Powered By FlexCMS
Powered By FlexCMS