Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #21  
Old 16th April 2008, 10:52
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,983 Times in 3,903 Posts
Default

Never edit the file Vhosts_ispconfig.conf manually! ISPConfig will remove all your changes. Instead, just uncheck the Suexec checkbox in ISPConfig under management > server > settings.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Sponsored Links
  #22  
Old 16th April 2008, 11:16
Mole Mole is offline
Member
 
Join Date: Apr 2008
Location: Latvia
Posts: 83
Thanks: 1
Thanked 0 Times in 0 Posts
Default

OK, thank You about Suexec!

But what about this error:

Code:
Fatal error: Call to undefined function wp() in /wwwroot/web3/web/wp-blog-header.php on line 18
Reply With Quote
  #23  
Old 16th April 2008, 17:06
Mole Mole is offline
Member
 
Join Date: Apr 2008
Location: Latvia
Posts: 83
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Something strange... what can be the problem?

When install new wordpress - the same error!

Server installed as needed, ispconfig installation successful, php.ini good, other pages run normal...except Wordpress based!

Maybe somebody have solution to resolve this problem?
Reply With Quote
  #24  
Old 16th April 2008, 21:51
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

How exactly did you install Wordpress?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #25  
Old 17th April 2008, 09:37
Mole Mole is offline
Member
 
Join Date: Apr 2008
Location: Latvia
Posts: 83
Thanks: 1
Thanked 0 Times in 0 Posts
Default

migration - copy ALL files&directories to /wwwroot/webX/web

new - wget latest Wordpress archive, unzip it, copy ALL files&folders into /wwwroot/webX/web, then rename wp-config-sample.php to wp-config.php, create new db in mysql (create database wordpress), then grant access to user, Flush privilegies), edit wp-config.php file appropriate to my needs, run file. Usually the first error is that "ERROR: in wp-config.php can only contain numbers, letters, and underscores.", but, when this is corrected, then next error is about wp() function!
Reply With Quote
  #26  
Old 17th April 2008, 19:35
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

Can you post the vhost configuration of that web site?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #27  
Old 17th April 2008, 20:56
Mole Mole is offline
Member
 
Join Date: Apr 2008
Location: Latvia
Posts: 83
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Code:
<VirtualHost XX.XX.XX.XX:80>
ServerName www.komunalserviss.lv:80
ServerAdmin webmaster@komunalserviss.lv
DocumentRoot /wwwroot/web3/web
ServerAlias komunalserviss.lv
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm
Alias  /cgi-bin/ /wwwroot/web3/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
ErrorLog /wwwroot/web3/log/error.log
AddType application/x-httpd-php .php .php3 .php4 .php5
<Files *.php>
    SetOutputFilter PHP
    SetInputFilter PHP
</Files>
<Files *.php3>
    SetOutputFilter PHP
    SetInputFilter PHP
</Files>
<Files *.php4>
    SetOutputFilter PHP
    SetInputFilter PHP
</Files>
<Files *.php5>
    SetOutputFilter PHP
    SetInputFilter PHP
</Files>
php_admin_flag safe_mode Off
Alias /error/ "/wwwroot/web3/web/error/"
ErrorDocument 400 /error/invalidSyntax.html
ErrorDocument 401 /error/authorizationRequired.html
ErrorDocument 403 /error/forbidden.html
ErrorDocument 404 /error/fileNotFound.html
ErrorDocument 405 /error/methodNotAllowed.html
ErrorDocument 500 /error/internalServerError.html
ErrorDocument 503 /error/overloaded.html
AliasMatch ^/~([^/]+)(/(.*))? /wwwroot/web3/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /wwwroot/web3/user/$1/web/$3
</VirtualHost>
Reply With Quote
  #28  
Old 17th April 2008, 21:27
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

Take a look at chapter 2.4.3 on http://www.howtoforge.com/ispconfig-2.x-first-steps-p2 . As you're using SuSE, you should probably set $go_info["server"]["apache2_php"] to addhandler.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #29  
Old 18th April 2008, 10:07
Mole Mole is offline
Member
 
Join Date: Apr 2008
Location: Latvia
Posts: 83
Thanks: 1
Thanked 0 Times in 0 Posts
Default

it's done, now Vhosts_ispconfig.conf:
Code:
<VirtualHost 62.85.27.11:80>
ServerName www.komunalserviss.lv:80
ServerAdmin webmaster@komunalserviss.lv
DocumentRoot /wwwroot/web3/web
ServerAlias komunalserviss.lv
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm
Alias  /cgi-bin/ /wwwroot/web3/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
ErrorLog /wwwroot/web3/log/error.log
AddType application/x-httpd-php .php .php3 .php4 .php5
php_admin_flag safe_mode Off
Alias /error/ "/wwwroot/web3/web/error/"
ErrorDocument 400 /error/invalidSyntax.html
ErrorDocument 401 /error/authorizationRequired.html
ErrorDocument 403 /error/forbidden.html
ErrorDocument 404 /error/fileNotFound.html
ErrorDocument 405 /error/methodNotAllowed.html
ErrorDocument 500 /error/internalServerError.html
ErrorDocument 503 /error/overloaded.html
AliasMatch ^/~([^/]+)(/(.*))? /wwwroot/web3/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /wwwroot/web3/user/$1/web/$3
</VirtualHost>
But problem is not solved!
Reply With Quote
  #30  
Old 19th April 2008, 23:28
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
 
Default

I'm at my wit's end. Does it work on other distributions than SUSE?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't access login enter ispconfig web ftp domain hostname Dekalb Installation/Configuration 1 3rd June 2007 13:22
Unable to open ISPConfig Web neu2linux Installation/Configuration 27 25th May 2006 14:09
Users and websites aren't created Glorfindel Installation/Configuration 9 23rd February 2006 04:20
ISPConfig Web Problems Ran2004 Installation/Configuration 2 8th October 2005 03:54
Accessing the ISPConfig Web Page nformosa Installation/Configuration 1 9th September 2005 14:13


All times are GMT +2. The time now is 00:50.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.