Register | FAQ Search Today's Posts Mark Forums Read
Old 08-26-2010   #1 (permalink)
 
joshbbc's Avatar
[+] more user info
 
joshbbc is offline  
Join Date: Aug 2010
Posts: 4
Thanks: 0
Thanked 3 Times in 3 Posts
incompatible settings between 2 joomla installs -addon domain



Hello everyone I hope you can help.

I have been using joomla for about 2 years and had several installs, so I have a pretty decent knowledge of joomla. Now I have something I can't figure out.

I list the background below but the basic problem is with PHP configuration. I cannont get morph (needing cgi) to exist with my other sites (only working with dso)

BACKGROUND:
I run a VPS for myself and have several joomla installs. I bought morph and was going to give it a try. What I found out was that I needed to upgrade PHP. First I went to 5.3 (and later went to 5.2.14 because I had problems with one install that was an older joomla.version).

Since then I have had several problems. for now I won't list all the problems and various things but here is what I am focusing in on but I don't have any idea for what to do next.


1. My vps had PHP/apache configuration on dso which gave me error messages, and prevented success with morph/configurator with my test install. I found a thread on this forum about configuration for cgi. I made that change which lets morph work but completely crashes any of my other installs (addon domains) after the homepage. (404 errors).

2. I thought it was becasue I had an out of date joomla install so I went to upgrade and had troubles. So I backed up mysql and made a new installation and tried to import and still nothing but problems.

3 The existing site wasn't really that many pages so I thought I would just make a new install and build it from my saved content.. I can, I cannont get morph (needing cgi) to exist with my other sites (needing dso).

QUESTION:
My existing site (needing dso to work right) has been installed as a new site 3 ways 1- as a straight joomla install 2- as a fantastico install, 3-as a morph quickinstaller file (the same installer file from my working morph stest site. In each case I get errors with cgi enabled.

I am even setting up new mySQL tables, so it is a completely new install and I have errors if not set to dso.

It seems that it may have to do with being an addon domain (the dso is addon/morph is not)

Any suggestions on a way to move everything to cgi??? I would really appreciate it.

Last edited by joshbbc; 08-26-2010 at 10:05 PM.
  Reply With Quote
This is a Advertisement. Sign up to have these ads removed.
Old 08-27-2010   #2 (permalink)
eMarketing & support tigress
 
tess's Avatar
[+] more user info
 
tess is offline  
Join Date: Aug 2008
Location: Cape Town, South Africa
Posts: 3,710
Thanks: 1,618
Thanked 247 Times in 233 Posts


Hi Josh,

I'm really sorry you're having trouble already from the start. I've read your post over and over, but need to call in our in-house devs on this one. Stay tuned for their input and ideas.

Thanks,
Tess
  Reply With Quote
Close your threads - click "Mark this response as the best answer" on the post with the best reply.

Save time -
use the Webdev Toolbar & Firebug extensions for Firefox when you develop your site.

Stay updated via newsletter, Facebook and Twitter: prothemer | jMorph | joomlatips | tessneale | SEOnewsdaily
Old 08-27-2010   #3 (permalink)
Administrator
 
stipsan's Avatar
[+] more user info
 
stipsan is offline  
Join Date: Aug 2009
Location: Molde, Mřre og Romsdal, Norway
Posts: 100
Thanks: 2
Thanked 95 Times in 57 Posts


Hi joshbbc,

We don't code for CGI specifically, at least not that we know of, as we use Joomla native apis for reading and writing to the filesystem.
We don't ship .htaccess directives with Morph either, which could be a common cause of these kinds of problems.


I only have basic knowledge of Apache in general, and very little on how to setup CGI and DSO.
But I can tell you that we're willing to do what we can on our side to make Morph work on your server.

3 questions comes to mind.
Do you have .htaccess directives on your site that could be part of the cause of your cgi problems?

Could we by any chance see those error messages you're getting, in order to locate the source of the problem?

I got some experience from setting up and configuring VPS's, but only a couple of months worth.
But I know enough to say that it's challenging to configure servers from scratch.
So with your experience, do you know about any PHP code that could cause something like this?
Anything that could point us in the right direction :)

Our main goal is to make Morph as server friendly as possible, within reasonable limits (we don't support PHP4 for instance).

Thanks,
Stian
  Reply With Quote
These users thanked stipsan.
Old 08-27-2010   #4 (permalink)
Support Staff
 
matt's Avatar
[+] more user info
 
matt is offline  
Join Date: Aug 2007
Location: Columbus Ohio
Posts: 2,474
Thanks: 207
Thanked 243 Times in 213 Posts


I mirror Stians excellent advice. It sounds like you have some old directives in your .htaccess files, OR, you might even have a variety of folders set to be permission 777.

We really need to know what the errors are first and go from there.

Is it a 500 server error?
Is it php errors
Or is it 404 type errors?

This may be tough to figure out I realize, but running suPHP and via CGI is a thousand times more secure and better for you over the long term.
  Reply With Quote
Recommended FREE debugging tools:
We highly recommend using Firefox for development, along with the awesome WebDev Toolbar & Firebug Extensions.

Follow us on Twitter:
prothemer | connectr | pixelprodigy | tessneale | matthewlking
These users thanked matt.
Old 09-02-2010   #5 (permalink)
 
joshbbc's Avatar
[+] more user info
 
joshbbc is offline  
Join Date: Aug 2010
Posts: 4
Thanks: 0
Thanked 3 Times in 3 Posts


OK thanks for the help and sorry for not putting lots of details at the start.
This is going back a few weeks but I dont think it would even install right until I changed from dso. Now I get error messages accross the top. right now this is all I am getting, but at one point I was getting 3 of these. Everything is fine with cgi.

Warning: file_put_contents(/home/bonsack/public_html/bbctest4/cache/morph/data.json) [function.file-put-contents]: failed to open stream: Permission denied in /home/bonsack/public_html/bbctest4/libraries/joomla/filesystem/file.php on line 298

I completely deleted the directory that had my other site and will try installing again. I will post any errors after a while when I get the install working.

By the way, the site that is currently down is based on your snappa theme and has recived lots of positive feedback over the last year or so. thanks.
  Reply With Quote
These users thanked joshbbc.
Old 09-02-2010   #6 (permalink)
 
joshbbc's Avatar
[+] more user info
 
joshbbc is offline  
Join Date: Aug 2010
Posts: 4
Thanks: 0
Thanked 3 Times in 3 Posts


I may have found the problem and fixed it but not sure why. I do think there was some problem with the subdomain/addon domain status of my server. IE/Firefox/safari all sent me to my site which was all errors 404 after the main page. Google chrome would refuse to go to the site and would instead download a file with no content and no extension.That was a clue there is a problem perhaps with the addon domain. I fully deleted the addon domain within cpanel and readded it now my other site has installed correctly and the default sample data and template install looks good, and now all my sites are all working under cgi so I am hoping that it is all stable from here on out.

Thanks
  Reply With Quote
These users thanked joshbbc.
Old 09-08-2010   #7 (permalink)
eMarketing & support tigress
 
tess's Avatar
[+] more user info
 
tess is offline  
Join Date: Aug 2008
Location: Cape Town, South Africa
Posts: 3,710
Thanks: 1,618
Thanked 247 Times in 233 Posts


Hi Josh,

Is everything still ok with your site? If yes, can we mark this thread as Answered? :)

Thanks,
Tess
  Reply With Quote
Close your threads - click "Mark this response as the best answer" on the post with the best reply.

Save time -
use the Webdev Toolbar & Firebug extensions for Firefox when you develop your site.

Stay updated via newsletter, Facebook and Twitter: prothemer | jMorph | joomlatips | tessneale | SEOnewsdaily
This is a Advertisement. Sign up to have these ads removed.
Reply

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
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum by vBulletin® Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC1 Downloads powered by vBadvanced Dynamics v1.1.0.

Love Thy Favicon!

Click on a block to select it..