1
Sargon
Re: Database backup restore problem
  • 2008/6/29 18:49

  • Sargon

  • Just popping in

  • Posts: 21

  • Since: 2008/4/26


I have tried a "clean" database import.
I imported into a new database.
However, I get an error, and if I comment the lines with this error, I get another error and etc.
The error is:

"
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'form_title varchar(255) NOT NULL,
form_submit_text varchar(50) NOT NULL,
' at line 1

"



2
Sargon
Re: Database backup restore problem
  • 2008/6/28 10:02

  • Sargon

  • Just popping in

  • Posts: 21

  • Since: 2008/4/26


Well, This time the error was different.

"Error
SQL query:

# Backup for MySQL
#
# --------------------------------------------------------
#
# Table structure for table dif_avatar
#
CREATE TABLE dif_avatar(

avatar_id mediumint( 8 ) unsigned NOT NULL AUTO_INCREMENT ,
avatar_file varchar( 30 ) NOT NULL ,
avatar_name varchar( 100 ) NOT NULL ,
avatar_mimetype varchar( 30 ) NOT NULL ,
avatar_created int( 10 ) DEFAULT '0' NOT NULL ,
avatar_display tinyint( 1 ) unsigned DEFAULT '0' NOT NULL ,
avatar_weight smallint( 5 ) unsigned DEFAULT '0' NOT NULL ,
avatar_typechar( 1 ) NOT NULL ,
PRIMARY KEY ( avatar_id ) ,
KEY avatar_type( avatar_type, avatar_display )
);



MySQL said:

#1050 - Table 'dif_avatar' already exists

"

What does this error mean?



3
Sargon
Database backup restore problem
  • 2008/6/27 16:14

  • Sargon

  • Just popping in

  • Posts: 21

  • Since: 2008/4/26


I have several backups of my website's database.
I was able to import from one of my backups, but I have a problem importing the two newer ones.
Apparently it has some sort of a problem with data about liasie module. It says something about a NULL string.
Why does that happen? and how can I fix this?
Thank you.



4
Sargon
Filling form fields via URL with liaise?
  • 2008/5/7 9:28

  • Sargon

  • Just popping in

  • Posts: 21

  • Since: 2008/4/26


I am using the liaise module.
I wish to have a cpp program that on a click of a button it opens a webpage with a liaise form and fills the fields with details.
Is that possible?
How can I do this?
I understood I can do this with providing the data in the URL somehow.
Something like this:
www.url.com?field_value=test
Is it as simple as that? or do I need to do something additional?

Thank you.



5
Sargon
Liaise version 1.26
  • 2008/5/4 12:03

  • Sargon

  • Just popping in

  • Posts: 21

  • Since: 2008/4/26


I have installed this module.
There are a few critical issues I have encoutered.
When the form is set to send email, submitting a feedback does not send any email to my mail box. Or it never reach my mail box.
Also, is there an option to send the email to a different email than to the adminstrator email?
Maybe I need to create a group for each email I want the form to send to?
Is there also an option to customize the email title?
This will allow me to categorize the emails into different folders in my mail box.

Thank you.



6
Sargon
Re: Unable to delete module
  • 2008/5/4 9:55

  • Sargon

  • Just popping in

  • Posts: 21

  • Since: 2008/4/26


My solution?
Simply restore your website to the last backup you made.
Luckily I made backup after installing protector and the likes, so I had less work to do from that point.



7
Sargon
Image (gallery) module
  • 2008/5/4 4:49

  • Sargon

  • Just popping in

  • Posts: 21

  • Since: 2008/4/26


I have tried two image gallery modules (well actually one, the other didn't install but I saw a demo site of it), but they didn't supply what I need.
I need to have a thumbnail of a photo in my website, and when I press it, a full size version of the image is open "above" the website.
There are websites who have this kind of feature, in which it seems like the whole website darkens, there is a loading sign, and then the photo opens above the website.
I also need to have comments bellow the smaller version of the image.
Is there such a module for xoops?
Thank you.



8
Sargon
Re: Editing a theme
  • 2008/5/2 11:36

  • Sargon

  • Just popping in

  • Posts: 21

  • Since: 2008/4/26


I updated my theme.html file, but I don't see the changes in my browser no matter what I do.
I think I did all 5 thigns mentioned by noo-b but it still doesn't work.
I deleted all the files in template_c and etc, and yet I cannot see the changes.

Edit: Ok, I just noticed my ftp program did not show me the correct state of template_c. It showed as if the folder is empty(except for index.html) while it was not.



9
Sargon
Re: XoImgUrl, editing a theme
  • 2008/5/2 11:14

  • Sargon

  • Just popping in

  • Posts: 21

  • Since: 2008/4/26


I want to know what is the proper way of adding an image to a theme.
I could simply write a hardcoded relative URL, but then I won't learn how to program for xoops.
I need some guide to teach me how to edit a theme.



10
Sargon
XoImgUrl, editing a theme
  • 2008/5/2 8:58

  • Sargon

  • Just popping in

  • Posts: 21

  • Since: 2008/4/26


I am trying to customize the default theme that comes with xoops.
I am trying to put an image in the body of the theme.html.
So I tried to do it the same way I saw it is done in other part of the code, something like this:

<img src="<{xoImgUrl MenuCrop.jpg}>" alt="" width="800" height="165" usemap="#MenuCrop" style="border-

style:none" />

I put MenuCrop.jpg in the same places I found logo.gif which use the same syntax, but I see a red x instead of the image.
Where is xoImgUrl defined?
Also, is there a guide on how to edit a theme?
Thank you.




TopTop
(1) 2 3 »



Login

Who's Online

174 user(s) are online (125 user(s) are browsing Support Forums)


Members: 0


Guests: 174


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits