solution attempt...failed
-
- Regular
- Posts: 17
- Joined: Sat Nov 07, 2009 7:12 pm
- Location: Upper NW Corner of Continetal US
solution attempt...failed
Hello, I decided that I needed to completely re-install and start from scratch. The set up is:
shared hosting plan with separate domains in their respective folder.
One serendipity blog installed no problems there. While attempting to install for a separate domain (not the same data base) after I attempt to finish I get this error:
Fatal error: Cannot redeclare serendipity_db_update() (previously declared in /home/content/l/e/e/leeofsted/html/include/db/db.inc.php:27) in /home/content/l/e/e/leeofsted/html/blog/include/db/db.inc.php on line 56.
It says (to me at least) something with the main site is conflicting here. Can one not do this?
This is not a sub domain.
Thanks
shared hosting plan with separate domains in their respective folder.
One serendipity blog installed no problems there. While attempting to install for a separate domain (not the same data base) after I attempt to finish I get this error:
Fatal error: Cannot redeclare serendipity_db_update() (previously declared in /home/content/l/e/e/leeofsted/html/include/db/db.inc.php:27) in /home/content/l/e/e/leeofsted/html/blog/include/db/db.inc.php on line 56.
It says (to me at least) something with the main site is conflicting here. Can one not do this?
This is not a sub domain.
Thanks
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: solution attempt...failed
Hi!
Is the path that is given in the error message the proper path to where you second installation is? Or does it refer to the first installation? Where you able to install s9y to the end, or do you get this error message during installation? Which database version are you using?
Regards,
Garvin
Is the path that is given in the error message the proper path to where you second installation is? Or does it refer to the first installation? Where you able to install s9y to the end, or do you get this error message during installation? Which database version are you using?
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
- Regular
- Posts: 17
- Joined: Sat Nov 07, 2009 7:12 pm
- Location: Upper NW Corner of Continetal US
Re: solution attempt...failed
Hi, its the path to the second install. I got to the complete install end. This error came up upon finishing the initial configuration (it came up if I used basic or advanced). Data base is mysql 5.0.
Thanks-
Thanks-
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: solution attempt...failed
Hi!
That's strange. Can you check to upload all the fresh files of the include/ directory and subdirectories and check the FTP tool if there are any errors? Usually this error only happens when either wrong files get included, the selected database type does not exist or there are garbaged files...
Regards,
Garvin
That's strange. Can you check to upload all the fresh files of the include/ directory and subdirectories and check the FTP tool if there are any errors? Usually this error only happens when either wrong files get included, the selected database type does not exist or there are garbaged files...
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
- Regular
- Posts: 17
- Joined: Sat Nov 07, 2009 7:12 pm
- Location: Upper NW Corner of Continetal US
Re: solution attempt...failed
I just re-downloaded from Serendipity site a fresh copy. uploaded entire includes folder (no ftp errors) same error:
Thanks-Fatal error: Cannot redeclare serendipity_db_update() (previously declared in /home/content/l/e/e/leeofsted/html/include/db/db.inc.php:27) in /home/content/l/e/e/leeofsted/html/blog/include/db/db.inc.php on line 56
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: solution attempt...failed
Hi!
Which s9y version did you download? 1.5-beta, 1.4.2?
Are you able to view the installation page for advanced/beginner installation, where you select the database type and version - or do you get the error there already, I didn't understand that?
Regards,
Garvin
Which s9y version did you download? 1.5-beta, 1.4.2?
Are you able to view the installation page for advanced/beginner installation, where you select the database type and version - or do you get the error there already, I didn't understand that?
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
- Regular
- Posts: 17
- Joined: Sat Nov 07, 2009 7:12 pm
- Location: Upper NW Corner of Continetal US
Re: solution attempt...failed
v1.4.2 is correct. I get the error after I complete the installation page for advanced/beginner no matter which choice I make (advanced or beginner) I tried them both.
Thanks-
Thanks-
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: solution attempt...failed
Hi!
Okay, so you do get to see that advanced/beginner page. What do you select in the database type dropdown exactly? mysql?
Regards,
Garvin
Okay, so you do get to see that advanced/beginner page. What do you select in the database type dropdown exactly? mysql?
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
- Regular
- Posts: 17
- Joined: Sat Nov 07, 2009 7:12 pm
- Location: Upper NW Corner of Continetal US
Re: solution attempt...failed
yes Mysql. same as previous install
Thanks-
Thanks-
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: solution attempt...failed
Hi!
Phew. This is really weird. I'd love to solve the issue, would it be possible to give me temporary access (FTP) to your installation, and we could try to reproduce the issue so that I can have a look? If that's fine for you, please send me a PM!
Regards,
Garvin
Phew. This is really weird. I'd love to solve the issue, would it be possible to give me temporary access (FTP) to your installation, and we could try to reproduce the issue so that I can have a look? If that's fine for you, please send me a PM!
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
- Regular
- Posts: 17
- Joined: Sat Nov 07, 2009 7:12 pm
- Location: Upper NW Corner of Continetal US
Re: solution attempt...failed
pm sent, Thanks!
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: solution attempt...failed
Hi!
I found the error, thanks for giving me access!
It was a bit tricky, I didn'T spot it at first while I should have. The error message mentioned /home/content/l/e/e/leeofsted/html/blog as the directory where the current db.inc.php resides in, but /home/content/l/e/e/leeofsted/html/ (WITHOUT *blog*) as the main directory.
Serendipity includes its files based on a "DOCUMENT_ROOT" directive that is specified by the webserver. In your case, your system does not set the DOCUMENT_ROOT to the actual directory of your domain, but to a directory one higher, but there is already a serendipity installation, that serendipity will then use.
I fixed your installation with a line in serendipity_config.inc.php:
at the top of the file. This will adjust that variable. However, the proper fix would be to get in touch with your server provider and ask them, if they can make sure that your domains all get the appropriate DOCUMENT-Root, else you might get some other troubles with other software or maybe some specific serendipity plugins...
HTH,
Garvin
I found the error, thanks for giving me access!
It was a bit tricky, I didn'T spot it at first while I should have. The error message mentioned /home/content/l/e/e/leeofsted/html/blog as the directory where the current db.inc.php resides in, but /home/content/l/e/e/leeofsted/html/ (WITHOUT *blog*) as the main directory.
Serendipity includes its files based on a "DOCUMENT_ROOT" directive that is specified by the webserver. In your case, your system does not set the DOCUMENT_ROOT to the actual directory of your domain, but to a directory one higher, but there is already a serendipity installation, that serendipity will then use.
I fixed your installation with a line in serendipity_config.inc.php:
Code: Select all
// FIX
$_SERVER['DOCUMENT_ROOT'] = dirname(__FILE__);
HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/