Forums | Mahara Community
Support
/
Mahara Sync Prob
28 February 2011, 6:52
I appreciate your help on this matter:
I have Mahara installed on redhat 6 and all is well on the live server. at the same time i have anathor server used as "redundant server" , I set up mahara on this server to be used as a mirror of the live instance.
All data are synchronized every 1 h and everything is ok except "Text Box" in the profile view (picture is not synchronized in this box).
I am using mysqldump. I can see the text in the synchronized database on the redundant server, but the text and picture in the text box is NOT displayed on the redundant instance. Any idea why this is happening?
Regards
Bahaa
07 March 2011, 4:44
In addition to the above I did some troubleshooting,
-The live and redundant servers use the same version of (MySQL, Apache, PHP)
-In the Database, the table "blockinstance" has a field called configdata, inside this field there is a text. if the text include URL to a picture, the behaviors differs between the redundant and the live.
-if we put this URL on the textbox of live server
<img src="http://----/artefact/file/download.php?file=789amp;&view=196" alt="" width="350" height="200" />
text box appear correctly, Unlike The redundant where we should replace the “amp;&” with “&” to obtain the same textbox content.
any help?
Regards
bahaa
07 March 2011, 20:12
That should be "&" because "amp;&" is not valid.
Not sure why your two sites are not behaving in the same way. They are running the exact same Mahara code right?
Cheers,
Francois
08 March 2011, 0:11
your right & and not amp;&
yes im using the same code and version.
regards
bahaa