|
 |
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


|
 |
|
|
Page editor on Firefox | August 26, 2008 @ 10:41am | Hello, Why the creating of hyperlink does'nt work on firefox explorer only on IE? Thank you |
|
|
|
| |
|
 |
|
|
I have bad experience with that code | August 26, 2008 @ 10:37am | Hello, I simply copy and paste you sample code above but the following message appear: -------------------------- XML Parsing Error: xml declaration not at start of external entity Location: http://mydomain/index.php/pages/rss.html Line Number 2, Column 1:<?xml version="1.0" encoding="UTF-8"?> ^ -------------------------- Can you please explain how could this happen? can you post the finalize code. Thanks |
|
|
|
| |
|
 |
|
|
| August 24, 2008 @ 7:55pm | Brendan,
I'm guessing your web host changed to running PHPSuExec or something along those lines between when you installed 2.0 and now. FlexCMS shouldn't do anything different in the installation process.
The errors you're getting about the language file not being loaded and PHP not being able to open the template file are likely because those folders simply don't exist.
We can certainly help you get the files that should be in those folders, but if you're having permission issues you'll run into other problems later on when it comes time to upload images or things of that nature. Your best bet is to contact the hosting company and see what you need to do to get your PHP scripts operating under the correct user name that gives them permission to create files and folders.
David |
|
|
|
| |
|
 |
|
|
Install | August 24, 2008 @ 5:34pm | Ok figured it out... when I run install.php it appears to running as apache:apache not the username I setup using plesk as a result of this I am not getting the templates installed or the languages. I found this out when I tried to change to the languages folder via FTP and it said permission denied.
Now I'm getting Error. Language files could not be loaded.
Please ensure at least the English FlexCMS language pack is present in the languages folder under the main FlexCMS directory.
As well as:
PHP Warning: include_once(): Unable to access ./templates/fine_lines-navy_white/template.php in /var/www/vhosts/mydomain.com/httpdocs/index.php on line 475
Guys please help.. my site is down which is not a big deal but the earlier install for 2.0 was spot on and worked great.
Thanks, Brendan |
|
|
|
| |
|
 |
|
|
SAFE MODE Error Site is Down | August 24, 2008 @ 4:15pm | I installed a fresh copy of FlexCMS 2.5.
Please help.
PHP Warning: include_once(): SAFE MODE Restriction in effect. The script whose uid is 48 is not allowed to access ./templates/fine_lines-navy_white/template.php owned by uid 10007 in /var/www/vhosts/freeyourpower.com/httpdocs/index.php on line 475 PHP Warning: include_once(./templates/fine_lines-navy_white/template.php): failed to open stream: No such file or directory in /var/www/vhosts/freeyourpower.com/httpdocs/index.php on line 475 PHP Warning: include_once(): Failed opening './templates/fine_lines-navy_white/template.php' for inclusion (include_path='.:')
|
|
|
|
| |
|
 |
|
|
| August 11, 2008 @ 9:17am | I will start building the site in the next week or so. I will not have the e-store ready for a few weeks as i need to get quite a few images of the wearables. |
|
|
|
| |
|
 |
|
|
| August 8, 2008 @ 1:19pm | We should be able to get that in there for you. What's your timeframe like for getting that site up and running?
David |
|
|
|
| |
|
 |
|
|
Sales Tax on Shipping in Store | August 8, 2008 @ 6:50am | I am getting ready to build a site for a resturant and they want to sell wearables. In playing with the Flex package I noticed that it does not charge sales tax on shipping charges. It our state we must charge sales tax on the shipping charges. Is there any way to change this? |
|
|
|
| |
|
 |
|
|
| August 6, 2008 @ 2:40pm | OMGosh... that is SO COOL. Thanks heaps! You really rock.
Thanks, Wolfie
|
|
|
|
| |
|
 |
|
|
| August 6, 2008 @ 1:21pm | Hey Wolfie,
You're in luck, we happen to have just the thing you're looking for:

Code
$query = "select * from `".$Settings['DBPrefix']."pg-Settings`"; $result = mysql_query($query) or die (mysql_error()); while ($row = mysql_fetch_array($result)) { $pgSettings[$row['Name']] = $row['Value']; } if ($pgSettings['StorageLocationHTTP'] == '') { $pgSettings['StorageLocationHTTP'] = $BaseURL.'/pg_images'; } if ($pgSettings['StorageLocationLocal'] == '') { $pgSettings['StorageLocationLocal'] = './pg_images'; }
$Extensions[2] = '.jpg'; $Extensions[3] = '.png'; $ThumbExtensions[2] = '-thumb.jpg'; $ThumbExtensions[3] = '-thumb.png';
if (substr($pgSettings['StorageLocationHTTP'],0,1) == '/') { $ImageBaseHTTP = $BaseURL.$pgSettings['StorageLocationHTTP']; } else { $ImageBaseHTTP = $pgSettings['StorageLocationHTTP']; }
$query = "select * from `".$Settings['DBPrefix']."pg-Images` ORDER BY RAND() limit 1"; $result = mysql_query($query) or die (mysql_error()); $row = mysql_fetch_array($result);
// figure out thumbnail dimensions $NewWidth = $pgSettings['ThumbMaxWidth']; $NewHeight = $pgSettings['ThumbMaxHeight']; $WidthRatio = $row['ImageWidth'] / $NewWidth; $HeightRatio = $row['ImageHeight'] / $NewHeight; if ($WidthRatio >= $HeightRatio) { $NewWidthCalc = number_format($row['ImageWidth'] / $WidthRatio, 0); $NewHeightCalc = number_format($row['ImageHeight'] / $WidthRatio, 0); } else { $NewWidthCalc = number_format($row['ImageWidth'] / $HeightRatio, 0); $NewHeightCalc = number_format($row['ImageHeight'] / $HeightRatio, 0); } $ImageWidth = $NewWidthCalc; $ImageHeight = $NewHeightCalc;
$query2 = "select * from `".$Settings['DBPrefix']."pg-Galleries` where RecordNumber='".$row['GalleryNumber']."' limit 1"; $result2 = mysql_query($query2) or die (mysql_error()); $row2 = mysql_fetch_array($result2);
print '<a href="'.$MainURL.'/photos/'.$row2['RecordNumber'].'.html" class="BlockColors"><img src="'.$ImageBaseHTTP.'/'.$row['FileName'].$ThumbExtensions[$row['FileType']].'" width="'.$ImageWidth.'" height="'.$ImageHeight.'" border="0" alt=""><br>'.$row2['GalleryTitle'].'</a>'; |
|
David |
|
|
|
|


|
|
 | MEMBERS 
|

|
|