MV.net: | inicio / home | documentos / documents | software / software | personal / personal | blog |
Software: | inicio / home | CMS4P | IEEditor | mvDocRun | OSCPMWin | OSCPM-Aspel | phpWPoison | phpSETIMon | SiTeFiLo | SleepShell |
CM4P: |
Question. | Answer. |
Will the CMS module support the WebDAV extension for Phprojekt? |
The WebDAV extension for Phprojekt
allow to upload, copy, rename and move of files in
the filemanager store of Phprojekt, using any WebDAV client (like Windows Explorer),
overcoming several of the limitations of Web-based file management. |
I can download the CMS content files overriding the groups access security. Can I have the CMS root directory out of the web path? Can I disable the direct access to the CMS files? |
If the web path to Phprojekt is www.mydomain.com/phprojekt (for example), and you configure the CMS module using
the default options, some user can load the URL www.mydomain.com/phprojekt/cms/root/somedir/otherdir/ (for example)
and load the files in the somedir/otherdir/ directory overriding the security of the CMS module. |
Does the CMS module work with Phprojekt version 4? |
Yes. You need to use the CMS module version 0.5.1 or higher. And follow the instructions in the readme.txt file (or the Install page). |
I want the MS Office documents to open inside the browser. |
Edit the cm/cm_mimetypes.inc.php script file, near the end of the file there are the definitions for Word, Excel, PowerPoint and Project files; just uncomment them. That will instruct the browser to download the MS Office files inline. (However, note that this is a suggestion given to the browser, what the browser finally do depends on the browser configuration). |
All I get is a blank/empty page. |
If this happens when loading the CMS main page directly (pointing your browser to phprojekturl/cm/index.php) then, most probably there is an error in the code of the CMS module, but it is not being displayed because error reporting is disabled (in Phprojekt or in the CMS module or both). To enable error reporting for all Phprojekt edit the index.php (from the main phprojekt directory) file and in line 19 change error reporting from 0 to E_ALL & ~E_NOTICE:
error_reporting(E_ALL & ~E_NOTICE);
Also, edit lib/lib.inc.php and comment out the lines 53 and 54 (adding two slashes // at the beginning of each line):
//if (!isset($error_reporting_level)...
//else { error_reporting( E_ALL & ~E_NOTICE); }
To enable error reporting for the CMS module code edit the cm/cm_lib.inc.php file and uncomment line 9 (in version 0.5.0) or around line 62 (in version 0.4.8). (Note that since version 0.6.0, the CMS module has error reporting enabled by default):
error_reporting(E_ALL & ~E_NOTICE);
This will show you the error messages (if any) and can give you a good idea of what is going wrong. If this happens when loading the CMS using the Phprojekt menu only (but shows normally when loading directly) then, most probably there is an error in the integration code you wrote in the Phprojekt index.php file In this case, check that the modifications you did in index.php and lib/show_modules.inc.php were done correctly. |
Fatal error: Call to undefined function: array_key_exists(). |
The function array_key_exists() is available since PHP version 4.1.0. The CMS module requires PHP 4.1.x or higher. This error is displayed if you are using an older version of PHP. The only fix is to upgrade to PHP 4.1.x. |
The permission/restriction matrix editor is displayed without text strings. |
This has been fixed since version 0.5.0. This happens in version 0.4.8 if PHP is configured in your server with the option short_open_tag set to Off. |
Some/all characters of my alphabet are displayed wrong. This only happens with the CMS module, other Phprojekt modules are Ok. |
This has been fixed since version 0.5.0.
This is a known bug. Affected languages are: Polish, Czech, Hungarian, Slovenian,
Russian, Taiwanese and Chinese. |
I'm getting errors about a grup_user or gruppen database table. |
Probably you have installed Phprojekt without User Groups. Previous versions of the CMS module (<0.4.8) cannot be used with groupless setups. |
Can I use the CMS module without user groups? |
Of course. You need to install a version greater than 0.4.8. Previous versions of the CMS module (<0.4.8) cannot be used with groupless setups. |
I upgraded to 0.4.7 and now the links in the pages don't work, they have a comma at the end. |
This is a bug introduced in 0.4.7 and it was fixed since version 0.4.7.1.
Please upgrade to a newer version of the module.
If you don't want to upgrade or can't upgrade, please download the quick fix: |
After running the setup routine, I cannot change anything. The message is You cannot change the configuration. Only the set user can change the settings or You cannot create the tables. Only the set user can create the database tables. |
This is a very common issue. You have been locked out from the setup scripts because you defined a
superuser different than you, effectively leaving yourself without permissions to
continue the setup process. |
Error message: You have an error in your SQL syntax near 'upper(cmdb_title)' at line 1. |
This happens when the SQL server cannot use
a function in the ORDER BY portion of a SQL sentence.
Usually this error means you are using mySQL 3.23.2 or older.
That version is quite old, but maybe in your facility is still being used. |
All generated images (thumbnails and stats graphs) are shown as broken picture links, what is the problem? |
Probably you are using a PHP setup without the GD library, or you have the GD library 1.8 support but
have configured the CMS module to use the TrueColor functions. You can go to the CMS setup page, set
the use truecolor jpeg images (GD 2.0) to 0 and check again the generated images (note that
to regenerate the albums you must delete the thumbnails with the upload function).
In versions of the CMS module before 0.4.7, the GD 1.8 support was not well tested.
Since version 0.4.7.1 the support for GD 1.8 is complete. |
I have the GD library 1.8, not the 2.0, can I use the CMS module anyway? |
Of course. In versions of the CMS module before 0.4.7, the GD 1.8 support was not well tested. From version 0.4.7 the support for GD 1.8 is complete. Go to the CMS setup page, set the use truecolor jpeg images (GD 2.0) to 0 and you are done. |
I don't have PHP with the GD library support compiled in, can I use the CMS module anyway? |
Of course. In versions of the CMS module before 0.4.8, you were required to have the GD library. In recent versions, the GD library is optional. Go to the CMS setup page, set the Enable the use of the graphic functions from the GD library to 0 and you are done. Just note that the automatic generation of images (in the stats page and in autoalbums) will be disabled. |
How do I remove/add syndicated news boxes to the main page of the CMS module? |
In versions before 0.6.0: Edit the cm/display.php file. Go to the bottom of the file and look for the
fcm_storerdf and fcm_display_rdfbox function calls.
Those functions are for downloading and displaying of the syndicated news boxes.
If you don't want them, just comment them out (with // characters). If you
want to add one just modify one of the examples. |
Where can I find more syndicated news sources? |
Visit the following sites:
|
When I use the syndicated news boxes every 12 hours the main page takes several second or minutes to load. What's going on? |
In versions before 0.6.0: The syndicated news have to be downloaded from time to time.
The time-to-live of every news set is defined in the fcm_storerdf
function call in the cm/display.php
file. By default (in the active examples) the news are downloaded every 900 minutes (15 hours).
If your link to Internet is slow, then the downloading of the newsfeeds may take several seconds, and the
main page of the CMS will hang for few seconds too. |
How can I use both the CMS module and the phprojekt-theme v0.1 (available from http://zoy.org/~lolo/phprojekt/)? |
This only applies to the CMS module 0.4.8 and lower.
Phprojekt-theme introduces major changes to index.php and layout/o.php, so it's not very
easy to integrate it with the CMS module (which also require changes there). However,
you can try the next steps to integrate both:
$cm_nav_pre1="<tr border=3>";
$cm_nav_pre2="<tr>";
$cm_nav_post1="</tr>";
$cm_nav_post2="</tr>";
6.- Edit the cm/cm_mainindex.inc.php file. Change the two frameset definitions to:
echo "<frameset cols='70,*'
border=1 frameborder=0 framespacing=1>";
7.- You are done. Follow the rest of the CMS module setup as usual. |
Internet Explorer keep hanging when displaying the CMS module pages, mostly with pages with lot of graphics. |
Internet Explorer for Windows cannot use the alpha transparency of PNG images (not index transparency).
Internet Explorer for Mac doesn't have this problem.
For detailed information check at libpng.org.
Also read these KB docs by Microsoft:
MSKB265221 and
MSKB294714. |
Why not use GIF images for the icons? Why PNG images? |
The easy answer is, because the icons are already available in PNG format. They are from the Gnome and KDE projects, and are always in PNG. Also because the old patent issue with GIF images, which don't affect the CMS module in anyway, but it's a Free Software principle. |
Why are not the AquaFusion or IcOsX icon sets included with the CMS module? |
Since version 0.4.7.1, the CMS module already includes
selected icons from the AquaFusion set. The authors of the AquaFusion set has clarified in the last release
that the AquaFusion SDL license is compatible with the GPL. |
Where can I download the AquaFusion or IcOsX icon sets? |
AquaFusion 0.4. |
Where can I download the full Gnome icon set? |
From Jimmac's HideOut or from Art Gnome. |
I have/found/created a great icon set. How do I use it with the CMS module? |
First, select the images you want to use.
To get an idea, go to the cm/layout/cm_gnome (or any other skin directory) and open the
cm_images.inc.php and cm_filetypes.inc.php files.
The first file contains an array with the definitions of
the icons from each iconset, mostly navigation and dialog icons. The second file contains an array
with the definitions for images used in file listings, mostly file types. |
My language is not included in the CMS module, but it is included with Phprojekt. |
The language strings are not shared between Phprojekt and the CMS module. By default only Spanish, English, Dutch, German, French, Catalan and Brazilian Portuguese translations are included. Of course you are welcome to contribute with a translation in your own language. |
I want to contribute with a translation in my native language. What do I have to do? |
Get the latest CMS module release, unpack it, copy the cm/lang/en.inc.php file, and use your favorite text editor to change all strings from English to your language. Then send the file by email with your name and email address in the file. Also, you can check the cm/doc/en.edithelp.php to edit the markup help page. |
The restriction/permissions table seems so complex, give me a hint. |
Think of 3 things: the user role/status, the actions a user can do and the object affected by those actions.
The current implementation recognizes these roles: |
How much does the CMS module cost? |
The CMS module is open source distributed under the GPL license. So it doesn't cost money. |
I don't want my normal users to be able to create pages. I want the old behavior; only Administrators should edit pages. |
If you are using a CMS module version 0.4.7.x do this:
to return to the old permissions behavior, edit the cm/cm_constraints.inc.php file,
commenting out from line 62 to line 111 (add a /* at the beginning of line 62
and add a */ at the end of line 111). Then uncomment from line 113 to 164 (deleting
the /* and the */, respectively). |
Where do I send my bug reports or questions about the CMS module? |
If you think you have found a bug, post a comment in the new web forum for bug reporting. This is an open forum, you are not required to register to read or post. Don't forget to specify the version of the CMS module being used, your SQL server brand and version, the platform (the operative system name and version) and the GD library version (in case your problem is graphic-related). Or, if you feel more comfortable, send an email to the author. |
What is the future development roadmap for the CMS module? |
Check the Future Features page to know about the future functions of the CMS module. Please note that the module depends heavily on Phprojekt, so, its development path is tied to the development path of Phprojekt. |
I need a new feature not shown in the Future Features list, will you add it? |
Features will be integrated according to their importance, how easily can be done, and how many people need it. So, post a comment with your suggestion in the new wishlist web forum. This is an open forum, you are not required to register to read or post. Or, if you feel more comfortable, send an email to the author. Of course, if you are a developer or you have hired one who can write code to be integrated with the CMS module, you are welcome to send patches. |
I need a new feature, but I want it now. / I need development services to customize the CMS module. |
My first suggestion is, get a local PHP developer. You have the code. He/she has the skills. The CMS module code is already documented and surely this option will be the most cost-effective. Optionally, you can contact the author to discuss a support and/or development service contract. Please note that if you need customization services for the core modules of Phprojekt (not the CMS module) you should contact the Phprojekt team. |
I'm a developer/analyst/usability expert/translator and I think you can do something better in certain part of the code/architecture/design/usability/translation. |
Your suggestions are always welcome. If you think something can be done in a better, faster, friendlier or more elegant way, please post a comment in the new general web forum. Don't hesitate to post your comments, no matter if they are about aesthetics, usability, architecture, programming, translation, etc. Or, if you feel more comfortable, send an email to the author. |
I'm a developer doing a custom branch of the CMS module and have a question about the internals of the code or the application architecture. |
First read the code, try to imagine the big picture. You have the skills. Also check the general use cases, the dataflow diagrams and the ER diagram of the CMS module available here in the /files/design directory (Visio format, also exported as PNGs pictures). Then, if you still have that question or are in doubt, please post a comment in the new general web forum. Or, if you feel more comfortable, send an email to the author. In any case I will be happy to answer your questions. Optionally, if you need to do extensive customization and you are seeking dev-support and/or development service, you can contact the author to discuss a service contract. Please note that if you need customization services for the core modules of Phprojekt (not the CMS module) you should contact the Phprojekt team. |
Can I use the CMS module without Phprojekt? |
The current answer is no.
Why? Because the CMS module was designed as a module, an add-on.
It takes advantage of the Phprojekt functions. Currently, it cannot be separated easily.
Maybe in a later release this option will be offered, but for now the answer is no. |
I can't upload files bigger than X megabytes. How can I change this? |
This is a limit imposed by your PHP setup. By default PHP defines a limit of 2 to 8 Mb.
You can change the PHP configuration in your php.ini file. Look for the
upload_max_filesize and post_max_size
variables, and change them to whatever you need. |
MV.net: | inicio / home | documentos / documents | software / software | personal / personal | blog |
búsqueda / search | estadísticas / statistics | privacidad / privacy | webapps | a / f | e / l |
Copyright ©1994-2024 by Mario A. Valdez-Ramírez. |