|
|
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
|
|
|
|
Random photo album image in a block | August 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 |
|
|
|
| |
|
|
|
|
| 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 |
|
|
|
| |
|
|
|
|
Flex Microsoft server install | August 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 |
|
|
|
| |
|
|
|
|
| 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 |
|
|
|
| |
|
|
|
|
Forum and MYSQl version syntax error | August 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 that) |
|
|
|
| |
|
|
|
|
| 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 |
|
|
|
| |
|
|
|
|
rss and me getting annoyed | August 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 |
|
|
|
| |
|
|
|
|
| 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 |
|
|
|
| | | |
|
|
|
|
| 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 |
|
|
|
|
|
|
| MEMBERS
|
|
|