Transfer to new server problems

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
cchhita
Posts: 54
Joined: Sun 14. Nov 2004, 23:54

Transfer to new server problems

Post by cchhita »

Hi Everyone,
I seem to be having a big problem with transferring an exisitng site to a new server.
The templates etc of the site show up perfectly, and I have successfully uploaded the database as well, but the main content wont show up on the site. Instead when I click on any link, it just gives me an error page (404).

Also, when i log into the backend, i can see all the pages and templates fine, but when i go to edit a specific article, the page is totally blank!! I have set my permissions and made the appropriate changes to the conf.inc file... does anyone know what it could be?

Thanks
Ben
Posts: 558
Joined: Wed 14. Jan 2004, 08:05
Location: Atlanta
Contact:

Post by Ben »

I doubt this will fix your problem, but the first thing that comes to mind is to change the .htaccess to [anything].htaccess to turn off url re-writing.
cchhita
Posts: 54
Joined: Sun 14. Nov 2004, 23:54

Post by cchhita »

Hi Ben,
I have disabled mod_rewrite in the conf.ini file, and renamed my htaccess file. It is quite strange becuase now when i click on pages, it doesnt give me errors, it just simply doesnt display the content.
I know the database is connected, otherwise my templates would not be showing up!!
The only things I cant see is the content in the front end, and when I go to edit an article, it gives me a blank page....
any ideas??
Ben
Posts: 558
Joined: Wed 14. Jan 2004, 08:05
Location: Atlanta
Contact:

Post by Ben »

Other things to check:
1. Are all of the database tables added to the new server and is the database the same size?
2. Are all of the files uploaded to the new server?
3. Are the values in phpinfo the same? If not, are the differing variables things that may affect whether or not phpwcms will work properly?

You've probably checked items 1 and 2, but I'm just trying to brainstorm with you ...
cchhita
Posts: 54
Joined: Sun 14. Nov 2004, 23:54

Post by cchhita »

Hi Ben,
Thanks for those ideas. Have tried all of those but no luck.
I am now trying to install a fresh version of phpwcms that i have successfully installed on other servers i the past. I can then figure out if it is infact my installation of phpwcms or a problem on the server.
I will post back when I have tried this.

Thanks
Ben
Posts: 558
Joined: Wed 14. Jan 2004, 08:05
Location: Atlanta
Contact:

Post by Ben »

That sounds like a good plan, cchhita. It sounds like it may be some issues on the server.
cchhita
Posts: 54
Joined: Sun 14. Nov 2004, 23:54

Post by cchhita »

hmmm.... this seems to get more interesting...
my idea of trying to install a clean install in a new directory did not work (worth a shot though). When I got to the final setup page, it gave me a list of files that needed attention (shown in red) and it normally says exist + writeable/not writeable... But it said file does not exist!!
For the life of me I cant figure that one out becuase all the files are there!! So I deleted that install, and am trying again!

Now what seems to happen is that some pages in the front end will show up, but about 90% of pages will now....
When i go into my backend, i cannot view my css or backend startup text, all edit pages are still blank. I have emailed the ISP and they have said there is nothing wrong at their end.
Could it be a file permission problem? I can successfully CHMOD files using my ftp program, but i am not 100% sure that it is working....

I am still baffled!
jibyro
Posts: 4
Joined: Thu 6. Apr 2006, 03:33

Post by jibyro »

cchhita, did you find the answer for your problem?
Seems like I have exactly the same one. I moved to a Windows server (don't ask, I'm still mad on my hoster) and now I have white blank pages/articles in front-end and can NOT edit articles back-end.
Here is a link to see the disaster: http://www.genanelu-lazar.net . Entire left-hand menu use to link to phpwcms articles...
The only thing that is working on my website right now is the phpbb forum.

Please advise.
pixelchallenge
Posts: 4
Joined: Mon 13. Feb 2006, 12:58

Post by pixelchallenge »

don't know why you can't edit the articles.. what does it say when you try to save the changes?

However you might have a similar problem like I had a few moments ago - after moving to a new server, newly created articles were not shown. Luckily this post by pappnase helped me - i changed the start date and end date of the article so that it's shown for sure (i could not disable them with the checkboxes, don't know why..) and it worked
jibyro
Posts: 4
Joined: Thu 6. Apr 2006, 03:33

Post by jibyro »

pixelchallenge wrote:don't know why you can't edit the articles.. what does it say when you try to save the changes?
I cannot edit articles because nothing would show up. No article header, no button, not a thing. Only the backend page layout.
pixelchallenge wrote:...newly created articles were not shown. [...] i changed the start date and end date of the article so that it's shown for sure (i could not disable them with the checkboxes, don't know why..) and it worked
You said newly created articles. Mine all articles are invisible.

I'm sure is something in database, some dates/ids etc that are not valid, but I cannot figure out where exactly I should take action.

By the way, I redirected first page of my website to the forum, so the URL above is not leading to my phpwcms anymore. The problem persists though.
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

jibyro wrote:I moved to a Windows server (don't ask, I'm still mad on my hoster)
Do you mean Windows IIS Server (instead of Apache)?
jibyro
Posts: 4
Joined: Thu 6. Apr 2006, 03:33

Post by jibyro »

DeXXus wrote:Do you mean Windows IIS Server (instead of Apache)?
Yes, DeXXus, the new server is Microsoft-IIS/6.0, system Windows NT VIRGO 5.2 build 3790.
Is there any known issue with phpwcms on Windows servers?
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

Yes, *kinda* !

No -two- installations seem to be quite alike:

-in how they are setup
-vary as to which Server environment variables are available or used ( particularly $_SERVER['DOCUMENT_ROOT'] )
-have different file permissions scheme
-etc.

You may have some work cut out for you nailing down the problem(s). Start with a search on IIS in the forum and see if matching symptoms in a thread have any suggestions or solutions. I have no time right now, sorry!
Post Reply