Forum

Questions and discussions

No luck installing on virtualmin webmin

Any questions about installation and updates

No luck installing on virtualmin webmin

Postby Gdogg » Sun Jun 22, 2014 10:33 am

hi all, im trying to set this up on my home server, running centos 6.5 and virtualmin, webmin.
a lot of errors come up.

[Installation - Step 1

You should modify the file on ftp: /admin/function/db.php

(the above i have modified it accordingly)

Checking:
Connecting to MySQL...Ok

"); $testdb2=mysql_select_db(dbname,$testdb); if($testdb) { echo("

Connecting to database...Ok
"); } else { echo("

Connecting to database...Error
"); $flag=false; } } else { echo("

Connecting to MySQL...Error
"); $flag=false; } if (is_writeable($DOCUMENT_ROOT.site_upload_directory)) { echo("

Folder ".$DOCUMENT_ROOT.site_upload_directory."/ is writable...Ok
"); } else { echo("

".$DOCUMENT_ROOT.site_upload_directory."/ isn't writable (777)...Error
"); $flag=false; } if (is_writeable($DOCUMENT_ROOT."/content2/")) { echo("

Folder ".$DOCUMENT_ROOT."/content2/ is writable...Ok
"); } else { echo("

".$DOCUMENT_ROOT."/content2/ isn't writable (777)...Error
"); $flag=false; } if (is_writeable($DOCUMENT_ROOT."/content/avatars/")) { echo("

Folder ".$DOCUMENT_ROOT."/content/avatars/ is writable...Ok
"); } else { echo("

".$DOCUMENT_ROOT."/content/avatars/ isn't writable (777)...Error
"); $flag=false; } if (is_writeable($DOCUMENT_ROOT."/content/blog/")) { echo("

Folder ".$DOCUMENT_ROOT."/content/blog/ is writable...Ok
"); } else { echo("

".$DOCUMENT_ROOT."/content/blog/ isn't writable (777)...Error
"); $flag=false; } if (is_writeable($DOCUMENT_ROOT."/content/categories/")) { echo("

Folder ".$DOCUMENT_ROOT."/content/categories/ is writable...Ok
"); } else { echo("

".$DOCUMENT_ROOT."/content/categories/ isn't writable (777)...Error
"); $flag=false; } if (is_writeable($DOCUMENT_ROOT."/content/models/")) { echo("

Folder ".$DOCUMENT_ROOT."/content/models/ is writable...Ok
"); } else { echo("

".$DOCUMENT_ROOT."/content/models/ isn't writable (777)...Error
"); $flag=false; } if (is_writeable($DOCUMENT_ROOT."/content/users/")) { echo("

Folder ".$DOCUMENT_ROOT."/content/users/ is writable...Ok
"); } else { echo("

".$DOCUMENT_ROOT."/content/users/ isn't writable (777)...Error
"); $flag=false; } if (is_writeable($DOCUMENT_ROOT."/content/prints/")) { echo("

Folder ".$DOCUMENT_ROOT."/content/prints/ is writable...Ok
"); } else { echo("

".$DOCUMENT_ROOT."/content/prints/ isn't writable (777)...Error
"); $flag=false; } if (is_writeable($DOCUMENT_ROOT."/content/pwinty/")) { echo("

Folder ".$DOCUMENT_ROOT."/content/pwinty/ is writable...Ok
"); } else { echo("

".$DOCUMENT_ROOT."/content/pwinty/ isn't writable (777)...Error
"); $flag=false; } if (is_writeable($DOCUMENT_ROOT."/cache/")) { echo("

Folder ".$DOCUMENT_ROOT."/cache/ is writable...Ok
"); } else { echo("

".$DOCUMENT_ROOT."/cache/ isn't writable (777)...Error
"); $flag=false; } if (is_writeable($DOCUMENT_ROOT."/templates_c/")) { echo("

Folder ".$DOCUMENT_ROOT."/templates_c/ is writable...Ok
"); } else { echo("

".$DOCUMENT_ROOT."/templates_c/ isn't writable (777)...Error
"); $flag=false; } if($flag==true) { ?>
]

need help
Gdogg
 
Posts: 22
Joined: Fri Jun 20, 2014 9:22 am

Re: No luck installing on virtualmin webmin

Postby admin » Tue Jun 24, 2014 11:14 am

You should enable the setting in php.ini and restart Apache:

short_open_tags=on
admin
Site Admin
 
Posts: 1458
Joined: Sun Mar 07, 2010 5:55 pm


Return to Installation

Who is online

Users browsing this forum: No registered users and 1 guest

  Photo Store Script

Professional php photo stock script and WordPress plug-in for photographers and video producers.

  Support
  CMSaccount Inc.