, 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 > Code Snippets > Random photo album image in a block (Go To Message)
Wolf
 
Random photo album image in a blockAugust 6, 2008 @ 1:13am
O Great and Powerful Oz...

I'd like to pull a random image from a random photo album and display it in a block.

Would you have a down and dirty way of doing that?

Thanks,
Wolf
User Help > General Support Requests > Flex Microsoft server install (Go To Message)
DCSun
 
August 5, 2008 @ 3:38pm
Hi Wolf,

I don't have much experience using Windows for web serving. Is it possible this folder is set to read only, or the web server isn't granted permission to write to it? It's not quite the same as Unix in how the permissions are granted.

Aside from that, I think your best bet would be to contact the server owner/administrator or hosting company and see what they can do for you. They should know how they set it up and can tell you pretty quickly what you need to change or what you won't be able to do, rather than trying a ton of different guesses to see what happens.


David
User Help > General Support Requests > Flex Microsoft server install (Go To Message)
Wolf
 
Flex Microsoft server installAugust 5, 2008 @ 9:40am
Hi David, Otter;

I'm trying to install Flex on a Microsoft server and am having problems on step 3 of the install (http://xxxxx.com/install.php?3)

I haven't installed Flex on a many windows servers and this one seems pretty restrictive. I'm thinking the difficulty might be related to proper settings in the .htaccess file.

For example, when Flex is creating it's directories during the install I see this type of message:


Quote

Directories Created:
Warning: chmod() [function.chmod]: No such file or directory in /web/install.php on line 534

Warning: chmod() [function.chmod]: No such file or directory in /web/install.php on line 534

Warning: chmod() [function.chmod]: No such file or directory in /web/install.php on line 534


When Flex is creating it's files, I see messages such as:


Code

Files Created:
Warning: fopen(./backups/index.html) [function.fopen]: failed to open stream: Permission denied in /web/install.php on line 552

Warning: fwrite(): supplied argument is not a valid stream resource in /web/install.php on line 553

Warning: fclose(): supplied argument is not a valid stream resource in /web/install.php on line 554

Warning: chmod() [function.chmod]: No such file or directory in /web/install.php on line 555

Warning: fopen(./images/admin/admincp_account.gif) [function.fopen]: failed to open stream: No such file or directory in /web/install.php on line 552


In order to have the server recognize .php files at all, we had to create an .htaccess file with the following entries:


Code

<Limit GET POST PUT DELETE HEAD>
require anymember
</Limit>
ForceNoProxy On


Any suggestions or ideas are greatly appreciated.

If we can get the basic system configured the guy is anxious to purchase a full license from y'all.

Thanks!
Wolf
User Help > General Support Requests > Forum and MYSQl version syntax error (Go To Message)
DCSun
 
August 4, 2008 @ 6:10pm
Did the thread still exist, or had it been deleted? That error is a known problem when the thread has been deleted, and will be fixed in the next version. If the thread did still exist, we'll look into it and see what else might be going on there.


David
User Help > General Support Requests > Forum and MYSQl version syntax error (Go To Message)
vfcweb
 
Forum and MYSQl version syntax errorAugust 4, 2008 @ 4:17pm
Hallo! While testing forum functions, I ran into this:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'limit 1' at line 1.

This is what shows when going to the link provided in the email that a response to a thread has occurred

MySQL version is 5.1.25.

i do not have the manual for this, and thought I would as y'all before i go out on a limb with texts....

any help is appreciated (but you know thatWink)
User Help > Code Snippets > Creating an RSS Feed from your FlexCMS News/Articles (Go To Message)
DCSun
 
August 4, 2008 @ 1:36pm
Sorry to hear about all the problems you're having. We'll see what we can do to get you up and running.

First off, stupid questions that need to be asked lol. Is FlexCMS installed there, and is the rest of it working fine? Any errors anywhere else in it? Did you have to do anything special to make it work during the installation process?

If FlexCMS does work fine, it really starts to get on your nerves, doesn't it? We've all been there and done that, where everything almost works except for some stupid little thing that you spend hours of hair pulling trying to make it work. For me this week it was forgetting to Globalize a variable, I think I spent about three hours tearing code apart looking for that!

There's nothing really in that code that should be causing you problems, it doesn't open any files or connect to any sockets, nothing like that. So it sounds like it's more a PHP problem than that script. When you go to include it from a file, have you added <?php to the start and ?> to the end? Are you including it by its full URL like "http://yadayada/scripts/file.php", or locally like "./scripts/file.php"? Have you checked the permissions on that file to make sure they match your FlexCMS index.php?

And regarding the unable to save certain pages, we have seen that before once on a restrictive hosting company. There was a certain combination of characters that would prevent it from going through, for whatever reason. Where is this site hosted?

That's about the best I can do for suggestions right now, but be sure to let us know if it's still not working and we'll see what else we can do.


David
User Help > Code Snippets > Creating an RSS Feed from your FlexCMS News/Articles (Go To Message)
vfcweb
 
rss and me getting annoyedAugust 4, 2008 @ 2:24am
I did find a thread that discussed the possibility of php fopen problem...but now, unlike my last demo, the rss.php shows nothing when I call it.

i got it to run as a separate file in my demo, but now that i am all in the right place...i get nothing.

i still have the no permission to save thing when I try to run this as a php enabled block or page, which I know you cannot help with...but the fact that the snippet does not run as rss.php?

any help would make me happier
User Help > General Support Requests > Printer Friendly with Images (Go To Message)
DCSun
 
August 3, 2008 @ 9:47pm
Grady,

Yes, now I see what you mean.

You can make the article images display on the printable version by modifying your inc-na-idx.php file. Comment out (by placing "//", without the quotes, at the very start of the line) lines 146 (should be "if ($PrintableFormat != 'y') {"), and 181 (should be "}"), then save and upload back to your site.


David
User Help > General Support Requests > Printer Friendly with Images (Go To Message)
Grady
 
Article images do not printAugust 3, 2008 @ 12:17am
I am referring to the image in an article. When I click on printer friendly the image does not show. Look at the following and click on printer friendly link.

http://www.doctorofmanagement.com/index.php/articles/view/1.html
User Help > General Support Requests > MOVING A FLEXCMS IN STALLATION (Go To Message)
DCSun
 
August 1, 2008 @ 1:37pm
H,

If you're staying within the same hosting account and just changing the URL (such as moving into or out of a subfolder, or into or out of a subdomain - which usually is just a folder that's setup to access by subdomain), things are pretty simple.

Step 1: Change the Base URL of FlexCMS. This can be done through your Control Panel, under Modify Advanced Site Settings, then click "Click Here to Modify the Base URL" near the top. Go through that process and change it to your new site URL, and at the end you'll get errors that stuff can't be found (that's the desired outcome).

Step 2: Move all files and folders to match the new location moved to in Step 1. This should just be a matter of either downloading and re-uploading, or moving via hosting control panel or command prompt, whichever you're most comfortable with. Once the files are in their new location, your site should be all set. If you chose the download and re-upload route, go through and make sure the permissions for the various folders (most importantly: /pg_images, /images/uploaded, /images/articles, /images/store) match what they were before (likely 777 if you needed to do this), otherwise you may have problems uploading photos and images.

As for moving it to a paid license, that can be done any time, it won't have any effect on your existing site content or settings. If you purchase a license before you perform Step 1 above, you can switch licenses at the same time during that process. Otherwise, it's quick and easy to do through the control panel at any time by clicking on Synchronize License down at the very bottom of the left column.

Hope that helps. If you run into any issues just reply here or open a ticket and we'll see what we can do.


David

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.20291 seconds.
 
Management Login

Powered By FlexCMS
Powered By FlexCMS