PDA

View Full Version : Transfered to new server, calander and bday pages blank


hexonxonx
10-02-2005, 12:17 PM
I had to move to a bigger server and I transfered everything to it. A few things are wrong:

Calander and birthday pages display a blank empty page
I can't delete a missing picture under edit photos. It simply shows the no picture available image instead of a photo and I can't get rid of that.

What am I missing?

hexonxonx
10-02-2005, 12:27 PM
Ok I deleted the missing photos on mine and others profiles.

natio :: phpFox
10-02-2005, 12:43 PM
When you transferred servers, did you install the source from a fresh install or just moved over the files that were installed on the older server?

hexonxonx
10-02-2005, 12:46 PM
Content visible to registered users only.

They were transfered over. I had to edit the config files to get the site to work. I also mistakenly deleted the site after the transfer so I had to re-upload from a backup.

natio :: phpFox
10-02-2005, 01:00 PM
Ok, so its just the calender/birthday page not showing on the Home page when a user is logged in?

Well try this out, download this file http://www.phpfox.com/download/?id=6

In the zip youll find "html_home.php" which is located in "/inc/html/"

Replace that and get back to me if it still doesnt work.

Thanks

hexonxonx
10-02-2005, 06:02 PM
I still get a blank page.

CiPhEr
10-02-2005, 07:10 PM
Im pretty sure it has to do with a function that does not work on your php version.
Im looking at the source now and the function cal_days_in_month() has to be used on version 4.1 and up.

You could test it out by creating a php file and adding this in there:
Content visible to registered users only.

Get back to us on what result you get from the test file. It should return the version you have and the function test.

hexonxonx
10-02-2005, 07:15 PM
I have version 4.4.0 on this server.

natio :: phpFox
10-02-2005, 07:19 PM
Can you try this one out: http://www.phpfox.com/download/?id=9

This zip has the "html_home.php", location: "/inc/html/"

hexonxonx
10-02-2005, 07:19 PM
I can't get the file to work:

Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home/xfiles11/public_html/friends/test.php on line 2

Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home/xfiles11/public_html/friends/test.php on line 2

Parse error: parse error, unexpected T_STRING in /home/xfiles11/public_html/friends/test.php on line 2

hexonxonx
10-02-2005, 07:21 PM
Ok, your new file works! thanks

natio :: phpFox
10-02-2005, 07:28 PM
:D Glad to hear it.



Content visible to registered users only.

Cipher,
I changed the "cal_days_in_month()" to "date("t")" which will return total days of the month (server time).

CiPhEr
10-02-2005, 07:30 PM
Content visible to registered users only.

Cool, ive changed it also, was reading up on php.net and that seems to be the fastest way of getting out the total days of the month.