GoDaddy install fine|Admin Login fine|Public site won't show

Please post all install related problems here. Visit this forum first for troubleshooting.
Post Reply
DougJoseph
Posts: 2
Joined: Wed 25. Nov 2009, 22:28

GoDaddy install fine|Admin Login fine|Public site won't show

Post by DougJoseph » Wed 25. Nov 2009, 23:06

Hello! This is my first time to try to install phpwcms. I'm fairly experienced in web dev, but I'm rather new to PHP.
  • The install (On GoDaddy on a MS IIS 7 server) went great! All showed green and "go." It flagged that safe mode was off. I accepted that.
  • It connected to the MySQL db just fine.
  • I took care of the config file, and I deleted the Setup folder.
  • I am able to log into the Admin area just fine.
  • I posted some "test" content.
But when I try to view the public site, I get nothing.

Note: I normally get a phpwcms message that says I cannot access the page directly:
You Cannot Access This Script Directly, Have a Nice Day.

See it here: http://www.lifeinfocusgroup.com/live/index.php

Note: I saw on here where someone said to place "define('PHPWCMS_INCLUDE_CHECK', true);" at the end of the config file. When I tried that, I was still able to log into Admin, but attempts to view the public site resulted in getting Google's "page not found" message.

Below are the details in reply to the checklist I saw posted.

Any ideas?

Thanks in advance if anyone can help.


Info about our current version of phpwcms:
phpwcms Version: http://phpwcms.googlecode.com/files/phpwcms_r345.zip
Hosting: GoDaddy.com
PHP Version: 5.2.5
System Windows NT P3SWH223 6.0 build 6001

Installation Troubleshooting Checklist

1. check your PHP Version - recommend > 4.3.0
Ours is 5.2.5

2. is safe_mode on -> recommend safe_mode Off
safe_mode was reported as OFF during the install.

3. register_globals should be set OFF
Where do I go to check this?

4. check permissions -> try to set every folder/file to 777 if problems still exists
I currently have every folder set to grant read & write permissions.

5. proof your path settings in conf.inc.php -> and if you post error messages related to file not found, permissions and so in - post the content of your conf.inc.php WITHOUT username/passwords

Code: Select all

<?php

// database values
$phpwcms['db_host']           = 'mom2marz.db.2997121.hostedresource.com';
$phpwcms['db_user']           = '_________';
$phpwcms['db_pass']           = '_________';
$phpwcms['db_table']          = 'mom2marz';
$phpwcms['db_prepend']        = 'phpwcms';
$phpwcms['db_pers']           = 1;
$phpwcms['db_charset']        = 'latin1';
$phpwcms['db_collation']      = 'latin1_general_ci';
$phpwcms['db_version']        = 50067;

// site values
$phpwcms['site']              = 'http://www.lifeinfocusgroup.com/';
$phpwcms['admin_name']        = 'Webmaster'; //default: Webmaster
$phpwcms['admin_user']        = '_________'; //default: admin
$phpwcms['admin_pass']        = '____________________________________'; //MD5(phpwcms)
$phpwcms['admin_email']       = 'admin@lifeinfocusgroup.com'; //default: noreplay@host

// paths
$phpwcms['DOC_ROOT']          = $_SERVER['DOCUMENT_ROOT'];// real DOC_ROOT seems to be: 'D:/Hosting/2997121/html//inc' 
$phpwcms['root']         		= 'live';         //default: ''
$phpwcms['file_path']         = 'filearchive';    //default: 'filearchive'
$phpwcms['templates']         = 'template';    //default: 'template'
$phpwcms['content_path']      = 'content'; //default: 'content'
$phpwcms['cimage_path']       = 'images';  //default: 'images'
$phpwcms['ftp_path']          = 'upload';     //default: 'upload'

// 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, 2 = FCKeditor, 4 = spaw
$phpwcms['phpmyadmin']        = 0;  //enable/disable phpMyAdmin in Backend
$phpwcms['allowed_lang']      = array('en');     //array of allowed languages: array('en', 'de', 'fr', 'es')
$phpwcms['DOCTYPE_LANG']      = '';		  //by default same as $phpwcms['default_lang'], but can be injected by whatever you like
$phpwcms['default_lang']      = 'en';  //default language
$phpwcms['charset']           = 'iso-8859-1';  //default charset 'iso-8859-1'
$phpwcms['allow_remote_URL']  = 1;  //0 = no remote URL in {PHP:...} replacement tag allowed, 1 = allowed
$phpwcms['gt_mod']            = 1;  //0 = Graphical Text MOD disabled, 1 = enabled
$phpwcms['jpg_quality']       = 85; //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_enabled']     = 0;        //cache On/Off - 1 = caching On / 0 = caching Off (default)
$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
$phpwcms['inline_download']   = 1;  //1 = try to display download documents in new window; 0 = show safe under dialog
$phpwcms['form_tracking']     = 1; //make a db entry for each form
$phpwcms['formmailer_set']    = array('allow_send_copy' => 0, 'global_recipient_email' => 'form@localhost'); //for better security handling
$phpwcms['allow_cntPHP_rt']   = 0; //allow PHP replacement tags and includes in content parts
$phpwcms['GETparameterName']  = 'id'; //must have a minimum of 2 chars 
$phpwcms['BOTS']              = array('googlebot', 'msnbot', 'bingbot', 'ia_archiver', 'altavista', 'slurp', 'yahoo', 'jeeves', 'teoma', 'lycos', 'crawler'); //don't start session 
$phpwcms['mode_XHTML']        = 1; // Doctype: 1 = XHTML 1.0 Transitional, 0 = HTML 4.01 Transitional, 2 = XHTML 1.0 Strict 
$phpwcms['header_XML']        = 0; // Content Type: 1 = application/xhtml+xml, 0 = text/html 
$phpwcms['IE_htc_hover']      = 0; // enables HTC Hover for IE < 7 - has no effect in other browsers 
$phpwcms['IE_htc_png']        = 0; // enables HTC pngbehavior for IE < 7 - has no effect in other browsers 
$phpwcms['Bad_Behavior']      = 0; // 1 enables spam blocking by Bad Behavior, 0 off 
$phpwcms['wysiwyg_template']  = array( 'FCKeditor' => 'phpwcms_basic,phpwcms_default,Default,Basic', 'SPAW2' => 'standard,all,mini' );
$phpwcms['GET_pageinfo']      = 0; // will add "&pageinfo=/cat1/cat2/page-title.htm" based on the breadcrumb information for each site link 
$phpwcms['version_check']     = 1; // checks for current release of phpwcms online 
$phpwcms['SESSION_FEinit']    = 0; // set 1 to enable sessions in frontend, 0 to disable sessions in frontend 
$phpwcms['Login_IPcheck']     = 0; 
$phpwcms['frontend_edit']	  = 0; // enable content specific direct links - linking direct into the backend 
$phpwcms['gd_memcheck_off']   = 0; // disable GD php memory check before resize an image 
$phpwcms['enable_chat']		  = 0; // enable or disable chat function, by default it is disabled - not recommend anymore to use it 
$phpwcms['enable_messages']	  = 0; // enable or disable internal messags, by default it is disabled - not recommend anymore to use it 
$phpwcms['enable_seolog']	  = 1; // enable or disable logging of search engine referrer data 
$phpwcms['i18n_parse']	  	  = 1; // enable|disable browser based language parser - all @@Text@@ will be parsed and checked for translation/var based replacement
$phpwcms['i18n_complex']	  = 0; // enable|disable the way browser language setting should be used, false = the easier way (always 2 chars 'en'), true - 'en-gb'...
$phpwcms['FCK_FileBrowser']   = 1; // enable|disable phpwcms Filebrowser in FCKeditor instead of built-in FCK file bowser support
$phpwcms['JW_FLV_License']    = ''; // insert your JW FLV Media Player License Code here - License warning will no longer displayed
$phpwcms['feuser_regkey']	  = 'FEUSER';
$phpwcms['login.php']	  	  = 'login.php';

// 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']   = 'admin@lifeinfocusgroup.com'; // reply/from email address
$phpwcms['SMTP_FROM_NAME']    = 'admin@lifeinfocusgroup.com'; // reply/from name
$phpwcms['SMTP_HOST']         = '__________________'; // SMTP server (host/IP)
$phpwcms['SMTP_PORT']         = _________; // SMTP-Server port (default 25)
$phpwcms['SMTP_MAILER']       = 'smtp'; // default phpMailer: smtp, mail (default), sendmail
$phpwcms['SMTP_AUTH']         = 1; // sets SMTP_AUTH to ON/OFF
$phpwcms['SMTP_USER']         = '_________'; // default SMTP login (user) name
$phpwcms['SMTP_PASS']         = '_________'; // default SMTP password

?>
6. have you downloaded most current version of phpwcms
We download the latest version yesterday from
http://phpwcms.googlecode.com/files/phpwcms_r345.zip

7. check your GD-version if no ImageMagick installed: GD1 produces bad results.
The install showed all green and yes and checkmarks.
I don't know how to check this.
Can someone give me tips?

8. Please post good description and what you have done or not
See above.

Post Reply