Page 1 of 1

Probleme to creat an article (HELP ME PLEASE)

Posted: Sun 18. Mar 2007, 18:53
by watakach
Hi, I have a big probleme about articles and css, when i want to creat an article, I have the first form to creat the title of the article the alias ID when i click on "creat the article" i can't see the second form... so i can't do anything.... But the article been created, so its not a probleme with the data base....


Same for the css in Admin "deflault css" their is nothing on the textarea, i cant put something on it (and the file exist) if someone know how to solve i will be glad...

I think my problem is that i transfer from local to internet....

Re: Probleme to creat an article (HELP ME PLEASE)

Posted: Sun 18. Mar 2007, 22:34
by Stim
watakach wrote:when i want to creat an article, I have the first form to creat the title of the article the alias ID when i click on "creat the article" i can't see the second form... so i can't do anything.... But the article been created
I may misunderstand you but if so just correct me. After you create an "article" you need to choose a content part in the list "content part" to see the "second form".

Hope it works.

Posted: Sun 18. Mar 2007, 23:49
by watakach
Ok, i don't understand what you mean by "content part" i put "{content}" in my layout if is that what you mean...

But to explain you better, you can see it here :

the sec image is when i click on "create new article"....

Image

Posted: Sun 18. Mar 2007, 23:55
by Stim
Hmm!! Seems you have problem with installation. Something is wrong and your image shouldn’t look like that if installation was normal. What version have you installed? Is all folder and file permission correct?

Here u can see permissons for file and folder, but for older version. The latest version is 1.3.0
http://www.phpwcms-docu.de/installation ... 9d2eacf92c

Posted: Mon 19. Mar 2007, 13:40
by watakach
yeah, my files permission if correct, and my phpwcms version is v1.2.5-DEV,

the probleme is i didnt install in my host... i tried it first in local, and then i transferd all the files and the BDD, so i think the probleme is in my "conf.inc.php" but i changed ... maybe not correctly... but i dont see what...

Thx trying to help me !

Posted: Mon 19. Mar 2007, 14:01
by flip-flop
Hi,

BS type: Windows or Linux?
Server type: IIS or Apache?

Knut

Posted: Mon 19. Mar 2007, 18:40
by watakach
Hi ! actuelly i dont know if that's change windows or linux... (and i dont know)
If you know my host is easygiga....
I think the server type is Apache ! But what could that change ?

He can communicate with the Date base, because when i create the "article basic information" (srcreen) it created on the Data base... I don't have message error...

But i have a question.... if I reinstall in my hosts... and i just export my Data base will i loose something ? like my structures... etc... ?

Is my conf.inc.php

Code: Select all

// database values
$phpwcms["db_host"]           = "localhost";
$phpwcms["db_user"]           = "myusername";
$phpwcms["db_pass"]           = "mypassword";
$phpwcms["db_table"]          = "mydatebase";
$phpwcms["db_prepend"]        = "";
$phpwcms["db_pers"]           = 1;

// site values
$phpwcms["site"]              = "http://www.mywebsite.ch/";
$phpwcms["admin_email"]       = "info@mail.com";

// paths
$phpwcms["DOC_ROOT"]          = 'http://www.mywebsite.ch/httpdocs/';
$phpwcms["root"]         		= "";         //default: ""
$phpwcms["file_path"]         = "phpwcms_filestorage";    //default: "phpwcms_filestorage"
$phpwcms["templates"]         = "phpwcms_template";    //default: "phpwcms_template"
$phpwcms["content_path"]      = "content"; //default: "content"
$phpwcms["cimage_path"]       = "images";  //default: "images"
$phpwcms["ftp_path"]          = "phpwcms_ftp";     //default: "phpwcms_ftp"

// content values
$phpwcms["file_maxsize"]      = 2097152; //Bytes (50 x 1024 x 1024)
$phpwcms["content_width"]     = 538; //max width of the article content column - important for rendering multi column images
$phpwcms["img_list_width"]    = 100; //max with of the list thumbnail image
$phpwcms["img_list_height"]   = 75; //max height of the list thumbnail image
$phpwcms["img_prev_width"]    = 538; //max width of the large preview image
$phpwcms["img_prev_height"]   = 400; //max height of the large preview image
$phpwcms["max_time"]          = 1800; //logout after max_time/60 seconds

// other stuff
$phpwcms["compress_page"]     = 0; //0 = OFF, 1-9: page compression ON (1 = low level, 9 = highest level)
$phpwcms["imagick"]           = 0; //0 = GD,  1 = ImageMagick, 2 = ImageMagick 4.2.9
$phpwcms["imagick_path"]      = ""; //Path to ImageMagick (default="" - none)
$phpwcms["use_gd2"]           = 1; //0 = GD1, 1 = GD2
$phpwcms["rewrite_url"]       = 0;  //whether URL should be rewritable
$phpwcms["wysiwyg_editor"]    = 2;  //0 = no wysiwyg editor, 1 = HTMLarea, 2 = FCKeditor, 3 = browser based
$phpwcms["phpmyadmin"]        = 0;  //enable/disable phpMyAdmin in Backend
$phpwcms["default_lang"]      = "en";  //default language
$phpwcms["charset"]           = "iso-8859-1";  //default charset 'iso-8859-1'
$phpwcms["allow_remote_URL"]  = 0;  //0 = no remote URL in {PHP:...} replacement tag allowed, 1 = allowed
$phpwcms["gt_mod"]            = 0;  //0 = Graphical Text MOD disabled, 1 = enabled
$phpwcms["jpg_quality"]       = 75; //JPG Quality Range 25-100
$phpwcms["sharpen_level"]     = 1;  //Sharpen Level - only ImageMagick: 0, 1, 2, 3, 4, 5 -- 0 = no, 5 = extra sharp
$phpwcms["allow_ext_init"]    = 1;  //allow including of custom external scripts at frontend initialization
$phpwcms["allow_ext_render"]  = 1;  //allow including of custom external scripts at frontend rendering
$phpwcms["cache_timeout"]     = 0;  //default cache timeout setting in seconds - 0 = caching Off
$phpwcms["imgext_disabled"]   = '';  //comma seperated list of imagetypes which should not be handled "pdf,ps"
$phpwcms["multimedia_ext"]    = 'aif,aiff,mov,movie,mp3,mpeg,mpeg4,mpeg2,wav,swf,swc,ram,ra,wma,wmv,avi,au,midi,moov,rm,rpm,mid,midi'; //comma seperated list of file extensiosn allowed for multimedia

// dynamic ssl encryption engine
$phpwcms["site_ssl_mode"]     = '0'; // tuns the SSL Support of WCMS on(1) or off (0) DEFAULT '0'
$phpwcms["site_ssl_url"]      = '';  //URL assigned to the SSL Certificate. DON'T add a slash at the End! Exp. "https://www.yourdomainhere.tld"
$phpwcms["site_ssl_port"]     = '443'; //The Port on which you SSL Service serve the secure Sites. Servers DEFAULT is '443'

// smtp values
$phpwcms['SMTP_FROM_EMAIL']   = 'info@mail.com'; // reply/from email address
$phpwcms['SMTP_FROM_NAME']    = 'phpwcms webmaster'; // reply/from name
$phpwcms['SMTP_HOST']         = 'localhost'; // SMTP server (host/IP)
$phpwcms['SMTP_PORT']         = 25; // SMTP-Server port (default 25)
$phpwcms['SMTP_MAILER']       = 'mail'; // default phpMailer: smtp, mail (default), sendmail
$phpwcms['SMTP_AUTH']         = 0; // sets SMTP_AUTH to ON/OFF
$phpwcms['SMTP_USER']         = ''; // default SMTP login (user) name
$phpwcms['SMTP_PASS']         = ''; // default SMTP password


// Try to check and uncomment the DOCUMENT_ROOT if you have problems
// often neccessary on IIS or default MacOS X webserver settings
// Do not use backslash "\" on Windows - always replace "\" by "/"
//$_SERVER['DOCUMENT_ROOT']     = http://mywebsite.ch/';
Thx again...

Posted: Mon 19. Mar 2007, 18:49
by pico
Hi

think this is wrong
$phpwcms["DOC_ROOT"] = 'http://www.mywebsite.ch/httpdocs/';

Docroot has no http and no url in it - it should look more like this

$phpwcms['DOC_ROOT'] = '/srv/www/htdocs';

Posted: Mon 19. Mar 2007, 19:32
by watakach
yes !!! it must be this!

because i just tried http://www.mywebsite.ch/setup/setup.php?step=5

(i didnt erase the setup...) and ??? It dosent see one file !!!


but now the probleme is i dont realy know what I must put in...

Posted: Mon 19. Mar 2007, 20:08
by watakach
ITS WORKING !!! YESSS !!!!

THX a lot