SOLOHelp.com
Junior Member
Posts: 7
Registered: 8/23/2005
Member Is Offline
|
| posted on 8/23/2005 at 02:07 AM |
|
|
Import .dat
I had to switch domains and a simple find and replace on all instances of the old domain name and then uploading the files and changing the
permissions didnt work. So I upgraded to the newest version of event calendar. But I haven't been able to import my old calendar info. I assume
its all in the .dat file. I attempted to edit gobal.txt but that wasn't a good idea.
Any other way to extract the data from the calendarname.dt file?
thanks
|
|
|
SOLOHelp.com
Junior Member
Posts: 7
Registered: 8/23/2005
Member Is Offline
|
| posted on 8/23/2005 at 10:24 PM |
|
|
I tried to get the calendar working on the old site but keep getting this error.
All the permissions from cl_files down are 777.
any ideas?
I really need to get the old calendar data back. I opened the .dat file with a text editor and its all there but how do I get it working again?
Can't open /hsphere/local/home/soloente/thegeneralstorecafe.com/calender/cl_files/data/configLive_Music_at_the_General_Store_Cafe.php file.
Please, check permissions. For more details see Installation Instructions
|
|
|
SOLOHelp.com
Junior Member
Posts: 7
Registered: 8/23/2005
Member Is Offline
|
| posted on 8/23/2005 at 11:12 PM |
|
|
Can somebody explain the relationship between global.txt and the .dat files?
Heres my global.txt
a:1:{s:36:"Live_Music_at_the_General_Store_Cafe";i:1;}
The first line in configLive_Music_at_the_General_Store_Cafe.php is
a:36:{s:11:"events_file";s:45:"eventLive_Music_at_the_General_Store_Cafe.dat";s:3:"url";s:0:"";s:6:"target";s:0:"";s:10:"templ_file";s:1
33:"
and the first line in eventLive_Music_at_the_General_Store_Cafe.dat is
a:320:{s:8:"06052004";a:1:{i:0;a:6:{i:0;i:0;i:1;s:81:"Thursday, May 6th<br><br
I haven't ben able to figure out how these corespond.
Right now I can go to cl_files/index.php?page=e&name=Live_Music_at_the_General_Store_Cafe
It shows the calendar in the choose calendar dropdown box but has this error
Can't open /hsphere/local/home/soloente/generalstorecafe.com/calender/cl_files/data/ file.
Please, check permissions. For more details see Installation Instructions
It also is not getting any of its config info.
I feel like I'm close. If I could maybe just figure out how to change global.txt myself to match the current config and dat files?
thanks
|
|
|
SOLOHelp.com
Junior Member
Posts: 7
Registered: 8/23/2005
Member Is Offline
|
| posted on 8/23/2005 at 11:16 PM |
|
|
It allowed me to create a new calendar. It works properly, so I'm going to try to decypher the global.txt using that as a base...
hints would be nice
|
|
|
SOLOHelp.com
Junior Member
Posts: 7
Registered: 8/23/2005
Member Is Offline
|
| posted on 8/23/2005 at 11:42 PM |
|
|
global.txt now looks like this:
a:2:{s:36:"Live_Music_at_the_General_Store_Cafe";i:1;s:4:"test";i:1;}
configtest.php first line:
a:34:{s:11:"events_file";s:13:"eventtest.dat";s:3:"url";s:0:"";s:6:"target";s:0:"";s:10:"templ_file";s:175:"
eventtest.dat (whole file, only one event)
a:1:{i:23082005;a:1:{i:0;a:6:{i:0;i:0;i:1;s:4:"asdf";i:2;s:4:"asdf";i:3;s:0:"";i:4;s:0:"";i:5;s:0:"";}}}
basically I cant find anything like x=x and y=y? what am I missing here? Have I stared at the code to long? No time for a break, must fix....
|
|
|
SOLOHelp.com
Junior Member
Posts: 7
Registered: 8/23/2005
Member Is Offline
|
| posted on 8/23/2005 at 11:49 PM |
|
|
I don't think I mentioned that this is an older version
it uses show_calendar to display the calendar not new calendar.
I have the old version on the old domain and the new version on the new domain but I can't figure out the dat in either ;-)
|
|
|