Author Topic: Parsing error without an error?  (Read 1677 times)

0 Members and 2 Guests are viewing this topic.

Spift

  • Guest
Parsing error without an error?
on: Mon, 30. June 2003 - 04:43:31
I assumed responsibility for a rather large website (using vTemplate) and everything was working fine. Just recently we have decided to switch servers and we were able to copy the whole root directory straight across to the new servers.

Everything seems to be working fine except our pages that have database information on them. We store all our information in databases, we call the information in arrays, and parse them into tables. After the switch, however, the parser doesn't complete its job. I'm almost 100% sure the error occurs in the parsing stage because I can print the array from the database, it just won't parse correctly into the format.

I've asked countless people and no one can figure out why this is occuring. Unfortunately, where I would either expect our content or an error message to appear on the pages, I simply get white. I would appreciate any help in solving this matter. Thank you for your time.

-Spift

Offline ClausVB

  • Administrator
  • Hero Member
  • *****
  • Posts: 566
    • Homepage: clausvb.de
Parsing error without an error?
Reply #1 on: Mon, 30. June 2003 - 12:48:46
Is this (by any means) a vLIB matter?

Could you post the URL with the error and put vlibTemplateDebug on?

Spift

  • Guest
Parsing error without an error?
Reply #2 on: Tue, 01. July 2003 - 01:07:23
I'm sorry if this isn't a vLIB matter. I thought vTemplate was the same as vLIB Template, but if you can help, I'd really appreciate it.

I understand the debugging method is supposed to be very easy to invoke, but I havne't been able to do it. :oops: I'd appreciate it if you could give me some help. The last thing I tried was

Code: [Select]
?php

include_once'../dbadmin/modules/DBAdmin.php';

include_once'../vTemplate/vTemplate.php';

include_once'../vTemplate/vTemplate/debug.php';

$tmpl = new vTemplate'../templates/weapons.shtml';

$debug = new vTemplateDebug;


I've tried commenting out parts, changing the call, but to no avail. Any help is appreciated.

-Spift

Offline ClausVB

  • Administrator
  • Hero Member
  • *****
  • Posts: 566
    • Homepage: clausvb.de
Parsing error without an error?
Reply #3 on: Tue, 01. July 2003 - 14:32:42
Quote
I'm sorry if this isn't a vLIB matter. I thought vTemplate was the same as vLIB Template, but if you can help, I'd really appreciate it.


Sorry man, vTemplate is really, really old (Feb 2002).

I thought about your problem, though.

You old server was working fine, right? Then you switched ... I assume there is something wrong with your new configuration.

Try the following:

Goto
http://dl.clausvb.de
and download my latest vlib_example release.
Then test every example. If it works ... ok. If not, post the error msg, please.

And give an URL where we can watch the problem.

Spift

  • Guest
Parsing error without an error?
Reply #4 on: Wed, 02. July 2003 - 01:16:22
Thank you for your help even if it is a little outdated. :D

I have posted the examples here: http://www.nexusatlas.com/vLIB_examples/examples/

I, unfortunately, get an error on about half of the pages. Hope this helps.

Offline ClausVB

  • Administrator
  • Hero Member
  • *****
  • Posts: 566
    • Homepage: clausvb.de
Parsing error without an error?
Reply #5 on: Wed, 02. July 2003 - 07:54:45
My examples are all working, except the DB examples, but I assume, you did not create a database and table for them, so that's totally ok.

vLIB (vlibTemplate) works on your webspace.

I am sorry, but your problem is not vLIB related. The problem has another source. I cannot help you, sorry.

Regards,
Claus