1
mattm
Re: small migration issue with xoops_tplsource
  • 2005/2/5 14:09

  • mattm

  • Just popping in

  • Posts: 28

  • Since: 2004/3/8 2


@highlander

Thanks for looking - looks like it just required a little tinkering with phpmyadmin.

At least the question is now answered for anyone else that has the problem!



2
mattm
Re: small migration issue with xoops_tplsource
  • 2005/2/5 14:02

  • mattm

  • Just popping in

  • Posts: 28

  • Since: 2004/3/8 2


OK - just re-read your post. Unselecting "Enclose table and field names with backquotes" has fixed the problem.

Thanks!



3
mattm
Re: small migration issue with xoops_tplsource
  • 2005/2/5 13:47

  • mattm

  • Just popping in

  • Posts: 28

  • Since: 2004/3/8 2


Thanks for the response. I'm using phpMyAdmin with the options set to

add drop table - selected
enclose table & field names with backquotes - selected

complete inserts - selected

here is the sql output with session ID edited - (don't know if that is necessary or not but seemed sensible!)
Quote:

ERROR: Unknown Punctuation String @ 363
STR: =<
SQL: INSERT INTO xoops_tplsource VALUES (36, '<table class="outer" width=\'100%\' cellspacing=\'0\'>\n <tr>\n <td class="head" colspan=\'2\' align=\'left\' height="18"><{$lang_category}> <{$link.category}></td>\n </tr>\n <tr>\n <td class="even" width=\'60%\' align=\'left\' valign="bottom"><a href="\?PHPSESSID=*snip!*"'visit.php?cid=<{$link.cid}>&lid=<{$link.id}>\'


It goes on from there but that covers the area it appears to be upset about. Don't really know enough to be able to troubleshoot the syntax.



4
mattm
small migration issue with xoops_tplsource
  • 2005/2/5 13:31

  • mattm

  • Just popping in

  • Posts: 28

  • Since: 2004/3/8 2


Has anyone had a problem, during migration, with uploading the contents of "xoops_tplsource"?

I'm finding that I'm getting syntax errors when I try to upload using phpmyadmin. It comes up with

Quote:

#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 'visit.php?cid=<{$link.cid}>&' at line 1


Immediately prior to the 'visit.php...' part, is a phpsession ID in " quotes (not sure if that is any use to know but thought I'd mention it).

Can anyone help?



5
mattm
Re: actual downloads
  • 2004/11/27 15:53

  • mattm

  • Just popping in

  • Posts: 28

  • Since: 2004/3/8 2


I am a fool - the option was right there in the module preferences. User uploads can be switched on and off.

Thanks!



6
mattm
Re: actual downloads
  • 2004/11/26 23:32

  • mattm

  • Just popping in

  • Posts: 28

  • Since: 2004/3/8 2


That's almost it but the user submit form doesn't allow the user to actually upload - only to specify a location where the file exists.

The ideal would be a submit form with a browse field to select the file from the user's local drive, a title field and a description. I get the feeling it would be possible to fudge such a form in with hidden fields to cater for all the other values the admin form requires.

Has anyone done such a hack?



7
mattm
actual downloads
  • 2004/11/26 19:25

  • mattm

  • Just popping in

  • Posts: 28

  • Since: 2004/3/8 2


I'm looking for a module to allow users of a site to upload documents (word docs, pdfs etc) to be downloaded by others. The downloads module only appears to allow me to add links to files available elsewhere so I'm a bit stuck.

Any suggestions?



8
mattm
Mail Users Hack Required
  • 2004/7/20 17:06

  • mattm

  • Just popping in

  • Posts: 28

  • Since: 2004/3/8 2


Have had a look around and haven't found anything for this so I'm hoping someone will have a crafty solution up their sleeve!

Under the mail users function, i want to be able to select an individual recipient by name rather than by log in or registered date.

Anyone got a hack like this working?

Cheers



9
mattm
Re: How Do I Create A Module?
  • 2004/7/15 21:02

  • mattm

  • Just popping in

  • Posts: 28

  • Since: 2004/3/8 2


Can't help with your specific query but you'll find a lot of usefull info on how a module should be formed at the xoopswiki - I'm working through it myself, trying to build my first XOOPS module.



10
mattm
Re: smiles not working
  • 2004/7/14 5:40

  • mattm

  • Just popping in

  • Posts: 28

  • Since: 2004/3/8 2


Sorry - not much help, I know, but the best I could suggest would be to re-install the newbb module and, perhaps the textsanitiser bit as well in case something has been accidentally edited (easy to do!).




TopTop
(1) 2 3 »



Login

Who's Online

159 user(s) are online (112 user(s) are browsing Support Forums)


Members: 0


Guests: 159


more...

Donat-O-Meter

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

Latest GitHub Commits