Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: Import .dat
SOLOHelp.com
Junior Member

Posts: 7
Registered: 8/23/2005
Member Is Offline
posted on 8/23/2005 at 02:07 AM Reply With Quote
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
View User's Profile View All Posts By User U2U Member
SOLOHelp.com
Junior Member

Posts: 7
Registered: 8/23/2005
Member Is Offline
posted on 8/23/2005 at 10:24 PM Reply With Quote

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
View User's Profile View All Posts By User U2U Member
SOLOHelp.com
Junior Member

Posts: 7
Registered: 8/23/2005
Member Is Offline
posted on 8/23/2005 at 11:12 PM Reply With Quote

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
View User's Profile View All Posts By User U2U Member
SOLOHelp.com
Junior Member

Posts: 7
Registered: 8/23/2005
Member Is Offline
posted on 8/23/2005 at 11:16 PM Reply With Quote

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
View User's Profile View All Posts By User U2U Member
SOLOHelp.com
Junior Member

Posts: 7
Registered: 8/23/2005
Member Is Offline
posted on 8/23/2005 at 11:42 PM Reply With Quote

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....
View User's Profile View All Posts By User U2U Member
SOLOHelp.com
Junior Member

Posts: 7
Registered: 8/23/2005
Member Is Offline
posted on 8/23/2005 at 11:49 PM Reply With Quote

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 ;-)
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page
Product Demonstrations Live Demos
Free/Trial Script Download Free Download
Product Documentation Documentation
Documentation page
Change Log
Support Forum Support Forum
Order Now ORDER NOW!
Add to Cart
View Cart
 

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004