0

I've googled and looked all around the web for an answer to this, but without any success. I am getting this error:

Parse error: syntax error, unexpected T_REQUIRE_ONCE in /home/xxxinl5/public_html/xxx/content/.../.../submitter.php on line 1

And here's the code:

<?php
/*
* My Prog
*
*/
require_once(dirname(__FILE__) . '/config.php');
require_once(dirname(__FILE__) . '/log.php');
require_once(dirname(__FILE__) . '/export.php');
require_once(dirname(__FILE__) . '/submit.php');
require_once(dirname(__FILE__) . '/database.php');
require_once(dirname(__FILE__) . '/cron_job.php');
require_once(dirname(__FILE__) . '/extrafeed.php');
....

I checked config.php, all the matching parentheses, semicolons, and other minor stuff, but this still comes out. What can be wrong with this?

Also, can this be a server setup problem? I tried copying my script to another web server, and the error does not come out.

Any help would be much appreciated.

Thanks!

John

Edited by jrhitokiri: n/a

2
Contributors
3
Replies
5
Views
6 Years
Discussion Span
Last Post by jrhitokiri
0

@hielo: thanks for that, I will be sure to check and test that out.

On my first server, yes, the includes are including rightly, but on another, displays the error mentioned above.

I will try to test this out and see what happens.

John

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.