Quote:
Originally Posted by dijetlo
I always say that right before screwing something up....
|
As you said... I screwed everything
starting from my brain...
Quote:
Originally Posted by dijetlo
That is the smartest thing I've seen posted this week.
|
Too bad I'm not the smartest guy
haha, check the rest
--- sleep a bit ---
Ok, here we go, I'll try to be clear as I did tons of stuff and I have to reorganize my mind cuz I don't remember what I did and in which order
Code:
I also tell you I'm doing everything on two machines, the slackbox and a salix-core-fresh-install (faster to install, works the same) where I installed only distro-packages (but mysql, that is compiled)
First I discovered httpd doesn't start at boot, so I got m.a.d trying to make it work, without success. So I ended up uninstalling the compiled httpd and installing the distro-package. The version is not the same and the bootscript doesn't work anyways... Ok, after some warcry I said "I'll fix that later. I hate apache"
Next, I removed everything beside Mysql (it's the only thing that always works) and reinstalled apache and php with distro-packs. Started apache manually and I saw I copied wrong all the /var/www files, as I used scp and not rsync, so all the privileges were screwed. No problem, that was an easy fix.
I checked the config files, fixed some httpd.conf issues to make php works but I saw that the debian-package-configs are slightly different from the slack ones.
I had different results on both machines.
Salix with distro-packs (newer versions then debian): I tried to replicate at my best the configs and when I connect to the box the CRM works! There are some graphic problems and the first page is not loading proprely, but the "engine" works, the calculations are correct and all the database functions work good. An half success, but that's good for now! I think the problems are due to jscript or some graphical library maybe... dunno.
Slackbox with compiled sources (ALMOST same versions, a bit newer): I get a CDbException. I think I have to debug but I don't know how to show errors and warning in the browser (I asked the devs to hide them) anyways I THINK it's mysql issue.
So far I'm too tired to go back to pc (21.15 localtime) but I decided to move in this direction:
1. I'll try to install debian on another partition and I'll build the same enviroment of the server
2. At that moment I'll move the application and replicate the exactly same config and check if everything runs fine
3. THEN I'll try to move on slack/salix and I'll ask for dumb-proof instructions if I get any problem.
I think I started too fast, without enought knowledge about php-mysql-apache
I'm reading documentations now.
Anyways, I hate Debian. :P