1
bigbrofan
Google Stats - Fatal Error
  • 2005/5/14 3:37

  • bigbrofan

  • Just popping in

  • Posts: 22

  • Since: 2004/11/25


Can anyone help me with this GoogleStats Error? I'm have placed the line of code into my footer.php and when I turn on debug this is what I get. Not sure what to do to fix it.

Quote:
Fatal error: Cannot redeclare debug1() (previously declared in /home/mysite/public_html/xoops/modules/googlestats/googlestats.inc.php:18) in /home/mysite/public_html/xoops/modules/googlestats/googlestats.inc.php on line 18
Warning [PHP]: main(../../mainfile.php): failed to open stream: No such file or directory in file modules/googlestats/googlestats.inc.php line 14
Warning [PHP]: main(../../mainfile.php): failed to open stream: No such file or directory in file modules/googlestats/googlestats.inc.php line 14
Warning [PHP]: main(): Failed opening '../../mainfile.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in file modules/googlestats/googlestats.inc.php line 14
Warning [PHP]: main(../../mainfile.php): failed to open stream: No such file or directory in file modules/googlestats/googlestats.inc.php line 14
Warning [PHP]: main(../../mainfile.php): failed to open stream: No such file or directory in file modules/googlestats/googlestats.inc.php line 14
Warning [PHP]: main(): Failed opening '../../mainfile.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in file modules/googlestats/googlestats.inc.php line 14



2
bigbrofan
Re: News1.1 - Internal Server Error
  • 2005/4/24 5:10

  • bigbrofan

  • Just popping in

  • Posts: 22

  • Since: 2004/11/25


I don't think it is max post size because I can post articles that are longer than the one that I am trying to post...

If someone could try this on their configuration I'd be interested if you get the error as well...

http://www.heraldsun.news.com.au/common/story_page/0,5478,12822206%255E28957,00.html

I am basically trying to "cut" the article and then paste it into News... as soon as I submit or preview I get the Internal Server error... I'm not sure what it causing it... I've even tried typing the article manually... It is almost as if there is a character combination that isn't working.

I took another article from the same site (to test) that was sports related and about 2 times the length of this article and it posted just fine.

This is the strangest thing I have seen...

Also my host will not give me access to the error logs. The phpinfo is listed here with my value listed first after the variable and then the host default value.

Quote:
Configuration
PHP Core
Directive Local Value Master Value
allow_call_time_pass_reference On On
allow_url_fopen On On
always_populate_raw_post_data Off Off
arg_separator.input & &
arg_separator.output & &
asp_tags Off Off
auto_append_file no value no value
auto_prepend_file no value no value
browscap no value no value
default_charset no value no value
default_mimetype text/html text/html
define_syslog_variables Off Off
disable_classes no value no value
disable_functions passthru,popen passthru,popen
display_errors On On
display_startup_errors Off Off
doc_root no value no value
docref_ext no value no value
docref_root no value no value
enable_dl On On
error_append_string no value no value
error_log error_log error_log
error_prepend_string no value no value
error_reporting 2039 2039
expose_php On On
extension_dir /usr/local/lib/php/extensions/no-debug-non-zts-20020429 /usr/local/lib/php/extensions/no-debug-non-zts-20020429
file_uploads On On
gpc_order GPC GPC
highlight.bg #FFFFFF #FFFFFF
highlight.comment #FF8000 #FF8000
highlight.default #0000BB #0000BB
highlight.html #000000 #000000
highlight.keyword #007700 #007700
highlight.string #DD0000 #DD0000
html_errors On On
ignore_repeated_errors Off Off
ignore_repeated_source Off Off
ignore_user_abort Off Off
implicit_flush Off Off
include_path .:/usr/lib/php:/usr/local/lib/php .:/usr/lib/php:/usr/local/lib/php
log_errors On On
log_errors_max_len 1024 1024
magic_quotes_gpc On On
magic_quotes_runtime Off Off
magic_quotes_sybase Off Off
max_execution_time 60 30
max_input_time -1 -1
open_basedir /home/bigbrofa/:/usr/lib/php:/usr/local/lib/php:/tmp no value
output_buffering no value no value
output_handler no value no value
post_max_size 16777216 55M
precision 14 14
register_argc_argv On On
register_globals On On
report_memleaks On On
safe_mode Off Off
safe_mode_exec_dir no value no value
safe_mode_gid Off Off
safe_mode_include_dir no value no value
sendmail_from no value no value
sendmail_path /usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i
serialize_precision 100 100
short_open_tag On On
SMTP localhost localhost
smtp_port 25 25
sql.safe_mode Off Off
track_errors Off Off
unserialize_callback_func no value no value
upload_max_filesize 16777216 2M
upload_tmp_dir no value no value
user_dir no value no value
variables_order EGPCS EGPCS
xmlrpc_error_number 0 0
xmlrpc_errors Off Off
y2k_compliance Off Off



3
bigbrofan
Re: News1.1 - Internal Server Error
  • 2005/4/23 15:22

  • bigbrofan

  • Just popping in

  • Posts: 22

  • Since: 2004/11/25


I can contact them... but I wouldn't know what to ask. Which flags in the php.ini file could be causing the problem? I can send them the list and ask them to validate or check them for me.



4
bigbrofan
Re: Protecting Cotent...
  • 2005/4/23 4:42

  • bigbrofan

  • Just popping in

  • Posts: 22

  • Since: 2004/11/25


Nope, that didn't work. oh well... I'll figure something out.



5
bigbrofan
News1.1 - Internal Server Error
  • 2005/4/23 3:07

  • bigbrofan

  • Just popping in

  • Posts: 22

  • Since: 2004/11/25


The News Module was working just fine and then I believe my Host did some upgrading of some kind and now I get the following when I try to add a new story from the Admin or if my users try to use the Submit News link. The error occurs after they click on the submit button... the form displays to build the news article:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.



6
bigbrofan
Re: Protecting Cotent...
  • 2005/4/22 0:00

  • bigbrofan

  • Just popping in

  • Posts: 22

  • Since: 2004/11/25


Yes you can or any of a number of other tools... It just discourages the casual users.



7
bigbrofan
Protecting Cotent...
  • 2005/4/21 23:53

  • bigbrofan

  • Just popping in

  • Posts: 22

  • Since: 2004/11/25


I used to use another CMS that allowed me to put a script into my header file that would prevent leeching. Is this possible with XOOPS? Here is the header that I used to use...
/**********************************************************************************/
/*                   Maninder.Tk encrypted protection script                      */
/* This script will disable right click, text highlight, copying and printscreen. */
/* I will be releasing a script with a few more features soon.                    */
/* I'm giving you this script free so please leave my comment.                    */
/**********************************************************************************/
echo "<!--Encrypted PHP Nuke protection script provided by Maninder.Tk-->n";
echo 
"<SCRIPT LANGUAGE="JavaScript"><!--n";
echo 
"document.write(unescape("%3C%53%43%52%49%50%54%20%4C%41%4E%47%55%41%47%45%3D%22%4A%61%76%61%53%63%72%69%70%74%22%3E%3C%21%2D%2D%0D%0A%68%70%5F%6F%6B%3D%74%72%75%65%3B%66%75%6E%63%74%69%6F%6E%20%68%70%5F%64%30%30%28%73%29%7B%69%66%28%21%68%70%5F%6F%6B%29%72%65%74%75%72%6E%3B%64%6F%63%75%6D%65%6E%74%2E%77%72%69%74%65%28%73%29%7D%2F%2F%2D%2D%3E%3C%2F%53%43%52%49%50%54%3E"));//--></SCRIPT><SCRIPT LANGUAGE="JavaScript"><!--n";
echo 
"hp_d00(unescape("%3C%53%43%52%49%50%54%20%4C%41%4E%47%55%41%47%45%3D%22%4A%61%76%61%53%63%72%69%70%74%22%3E%3C%21%2D%2D%0D%0A%66%75%6E%63%74%69%6F%6E%20%68%70%5F%6E%65%28%29%7B%72%65%74%75%72%6E%20%74%72%75%65%7D%6F%6E%65%72%72%6F%72%3D%68%70%5F%6E%65%3B%66%75%6E%63%74%69%6F%6E%20%68%70%5F%64%6E%28%61%29%7B%72%65%74%75%72%6E%20%66%61%6C%73%65%7D%66%75%6E%63%74%69%6F%6E%20%68%70%5F%63%6D%28%29%7B%72%65%74%75%72%6E%20%66%61%6C%73%65%7D%66%75%6E%63%74%69%6F%6E%20%68%70%5F%64%65%28%65%29%7B%72%65%74%75%72%6E%28%65%2E%74%61%72%67%65%74%2E%74%61%67%4E%61%6D%65%21%3D%6E%75%6C%6C%26%26%65%2E%74%61%72%67%65%74%2E%74%61%67%4E%61%6D%65%2E%73%65%61%72%63%68%28%27%5E%28%49%4E%50%55%54%7C%54%45%58%54%41%52%45%41%7C%42%55%54%54%4F%4E%7C%53%45%4C%45%43%54%29%24%27%29%21%3D%2D%31%29%7D%3B%66%75%6E%63%74%69%6F%6E%20%68%70%5F%6D%64%28%65%29%7B%6D%61%63%3D%6E%61%76%69%67%61%74%6F%72%2E%75%73%65%72%41%67%65%6E%74%2E%69%6E%64%65%78%4F%66%28%27%4D%61%63%27%29%21%3D%2D%31%3B%69%66%28%64%6F%63%75%6D%65%6E%74%2E%61%6C%6C%29%7B%69%66%28%65%76%65%6E%74%2E%62%75%74%74%6F%6E%3D%3D%32%7C%7C%28%6D%61%63%26%26%28%65%76%65%6E%74%2E%63%74%72%6C%4B%65%79%7C%7C%65%76%65%6E%74%2E%6B%65%79%43%6F%64%65%3D%3D%39%31%29%29%29%7B%72%65%74%75%72%6E%28%66%61%6C%73%65%29%7D%7D%65%6C%73%65%7B%69%66%28%65%2E%77%68%69%63%68%3D%3D%33%7C%7C%28%6D%61%63%26%26%28%65%2E%6D%6F%64%69%66%69%65%72%73%3D%3D%32%7C%7C%65%2E%63%74%72%6C%4B%65%79%29%29%29%7B%72%65%74%75%72%6E%20%66%61%6C%73%65%7D%65%6C%73%65%20%69%66%28%65%2E%77%68%69%63%68%3D%3D%31%29%7B%77%69%6E%64%6F%77%2E%63%61%70%74%75%72%65%45%76%65%6E%74%73%28%45%76%65%6E%74%2E%4D%4F%55%53%45%4D%4F%56%45%29%3B%77%69%6E%64%6F%77%2E%6F%6E%6D%6F%75%73%65%6D%6F%76%65%3D%68%70%5F%64%6E%7D%7D%7D%66%75%6E%63%74%69%6F%6E%20%68%70%5F%6D%75%28%65%29%7B%69%66%28%65%2E%77%68%69%63%68%3D%3D%31%29%7B%77%69%6E%64%6F%77%2E%72%65%6C%65%61%73%65%45%76%65%6E%74%73%28%45%76%65%6E%74%2E%4D%4F%55%53%45%4D%4F%56%45%29%3B%77%69%6E%64%6F%77%2E%6F%6E%6D%6F%75%73%65%6D%6F%76%65%3D%6E%75%6C%6C%7D%7D%69%66%28%6E%61%76%69%67%61%74%6F%72%2E%61%70%70%4E%61%6D%65%2E%69%6E%64%65%78%4F%66%28%27%49%6E%74%65%72%6E%65%74%20%45%78%70%6C%6F%72%65%72%27%29%3D%3D%2D%31%7C%7C%28%6E%61%76%69%67%61%74%6F%72%2E%75%73%65%72%41%67%65%6E%74%2E%69%6E%64%65%78%4F%66%28%27%4D%53%49%45%27%29%21%3D%2D%31%26%26%64%6F%63%75%6D%65%6E%74%2E%61%6C%6C%2E%6C%65%6E%67%74%68%21%3D%30%29%29%7B%69%66%28%64%6F%63%75%6D%65%6E%74%2E%61%6C%6C%29%7B%6D%61%63%3D%6E%61%76%69%67%61%74%6F%72%2E%75%73%65%72%41%67%65%6E%74%2E%69%6E%64%65%78%4F%66%28%27%4D%61%63%27%29%21%3D%2D%31%3B%76%65%72%73%69%6F%6E%3D%70%61%72%73%65%46%6C%6F%61%74%28%27%30%27%2B%6E%61%76%69%67%61%74%6F%72%2E%75%73%65%72%41%67%65%6E%74%2E%73%75%62%73%74%72%28%6E%61%76%69%67%61%74%6F%72%2E%75%73%65%72%41%67%65%6E%74%2E%69%6E%64%65%78%4F%66%28%27%4D%53%49%45%27%29%2B%35%29%2C%31%30%29%3B%69%66%28%21%6D%61%63%26%26%76%65%72%73%69%6F%6E%3E%34%29%7B%64%6F%63%75%6D%65%6E%74%2E%6F%6E%63%6F%6E%74%65%78%74%6D%65%6E%75%3D%68%70%5F%63%6D%7D%65%6C%73%65%7B%64%6F%63%75%6D%65%6E%74%2E%6F%6E%6D%6F%75%73%65%64%6F%77%6E%3D%68%70%5F%6D%64%3B%64%6F%63%75%6D%65%6E%74%2E%6F%6E%6B%65%79%64%6F%77%6E%3D%68%70%5F%6D%64%3B%7D%64%6F%63%75%6D%65%6E%74%2E%6F%6E%73%65%6C%65%63%74%73%74%61%72%74%3D%68%70%5F%64%6E%7D%65%6C%73%65%20%69%66%28%64%6F%63%75%6D%65%6E%74%2E%6C%61%79%65%72%73%29%7B%77%69%6E%64%6F%77%2E%63%61%70%74%75%72%65%45%76%65%6E%74%73%28%45%76%65%6E%74%2E%4D%4F%55%53%45%44%4F%57%4E%7C%45%76%65%6E%74%2E%6D%6F%64%69%66%69%65%72%73%7C%45%76%65%6E%74%2E%4B%45%59%44%4F%57%4E%7C%45%76%65%6E%74%2E%4D%4F%55%53%45%55%50%29%3B%77%69%6E%64%6F%77%2E%6F%6E%6D%6F%75%73%65%64%6F%77%6E%3D%68%70%5F%6D%64%3B%77%69%6E%64%6F%77%2E%6F%6E%6B%65%79%64%6F%77%6E%3D%68%70%5F%6D%64%3B%77%69%6E%64%6F%77%2E%6F%6E%6D%6F%75%73%65%75%70%3D%68%70%5F%6D%75%7D%65%6C%73%65%20%69%66%28%64%6F%63%75%6D%65%6E%74%2E%67%65%74%45%6C%65%6D%65%6E%74%42%79%49%64%26%26%21%64%6F%63%75%6D%65%6E%74%2E%61%6C%6C%29%7B%64%6F%63%75%6D%65%6E%74%2E%6F%6E%63%6F%6E%74%65%78%74%6D%65%6E%75%3D%68%70%5F%63%6D%3B%64%6F%63%75%6D%65%6E%74%2E%6F%6E%6D%6F%75%73%65%64%6F%77%6E%3D%68%70%5F%64%65%7D%7D%66%75%6E%63%74%69%6F%6E%20%68%70%5F%6E%6C%73%28%29%7B%77%69%6E%64%6F%77%2E%73%74%61%74%75%73%3D%22%22%3B%73%65%74%54%69%6D%65%6F%75%74%28%22%68%70%5F%6E%6C%73%28%29%22%2C%31%30%29%7D%68%70%5F%6E%6C%73%28%29%3B%66%75%6E%63%74%69%6F%6E%20%68%70%5F%64%63%28%29%7B%68%70%5F%74%61%2E%63%72%65%61%74%65%54%65%78%74%52%61%6E%67%65%28%29%2E%65%78%65%63%43%6F%6D%6D%61%6E%64%28%22%43%6F%70%79%22%29%3B%73%65%74%54%69%6D%65%6F%75%74%28%22%68%70%5F%64%63%28%29%22%2C%33%30%30%29%7D%69%66%28%6E%61%76%69%67%61%74%6F%72%2E%61%70%70%4E%61%6D%65%2E%69%6E%64%65%78%4F%66%28%27%49%6E%74%65%72%6E%65%74%20%45%78%70%6C%6F%72%65%72%27%29%3D%3D%2D%31%7C%7C%28%6E%61%76%69%67%61%74%6F%72%2E%75%73%65%72%41%67%65%6E%74%2E%69%6E%64%65%78%4F%66%28%27%4D%53%49%45%27%29%21%3D%2D%31%26%26%64%6F%63%75%6D%65%6E%74%2E%61%6C%6C%2E%6C%65%6E%67%74%68%21%3D%30%29%29%7B%69%66%28%64%6F%63%75%6D%65%6E%74%2E%61%6C%6C%26%26%6E%61%76%69%67%61%74%6F%72%2E%75%73%65%72%41%67%65%6E%74%2E%69%6E%64%65%78%4F%66%28%27%4F%70%65%72%61%27%29%3D%3D%2D%31%29%7B%64%6F%63%75%6D%65%6E%74%2E%77%72%69%74%65%28%27%3C%64%69%76%20%73%74%79%6C%65%3D%22%70%6F%73%69%74%69%6F%6E%3A%61%62%73%6F%6C%75%74%65%3B%6C%65%66%74%3A%2D%31%30%30%30%70%78%3B%74%6F%70%3A%2D%31%30%30%30%70%78%22%3E%3C%69%6E%70%75%74%20%74%79%70%65%3D%22%74%65%78%74%61%72%65%61%22%20%6E%61%6D%65%3D%22%68%70%5F%74%61%22%20%76%61%6C%75%65%3D%22%20%22%20%73%74%79%6C%65%3D%22%76%69%73%69%62%69%6C%69%74%79%3A%68%69%64%64%65%6E%22%3E%3C%2F%64%69%76%3E%27%29%3B%68%70%5F%64%63%28%29%7D%7D%2F%2F%2D%2D%3E%3C%2F%53%43%52%49%50%54%3E"));//--></SCRIPT>n";
echo 
"<!--Encrypted PHP Nuke protection script provided by Maninder.Tk-->n";

/**********************************************************************************/
/*               End Maninder.Tk encrypted protection script                      */
/**********************************************************************************/



8
bigbrofan
2.0.7 to 2.0.9 Help/Advice
  • 2005/4/21 2:43

  • bigbrofan

  • Just popping in

  • Posts: 22

  • Since: 2004/11/25


My webhost has XOOPS installer via Fantastico on the CPANEL. I attempted the upgrade and from that point forward all I got was a main page... I suspect it is one of the addons that I have or blocks but I'm not sure. They restored for me and I am back to 2.0.7. They suggested that I do a manual install...

What I would like to do is copy my current XOOPS to a new directory and all of the tables to a new database... I'd then like to upload the 2.0.9 version and proceed with the upgrade on this copied version.

What I need is advice on what I should do to get my data into a new database. I'd like to make sure that I have two working copies (1 in "xoops" and 1 in "xoopscopy")and that I am able to login, etc to both prior to attempting the upgrade... Once I do the upgrade I can then always point the index page to the correct XOOPS or for that matter adjust the dns, etc...

Thanks for any and all advice...



9
bigbrofan
Re: XCGallery, how to remove Random Pictures and Last uploaded ?
  • 2005/1/9 23:45

  • bigbrofan

  • Just popping in

  • Posts: 22

  • Since: 2004/11/25


Can't you simply go to Administration Menu
XCGallery Admin
General Configuration

Find this line (6th LINE DOWN):

Album list view: The content of the main page

Listed to the right are what will display on the album main page... If you don't want random there just remove it or if you want more or less just change the number behind it.

Here is what you can do with that configuration line from the readme in the xcgal folder:

"Album list view: The content of the main page"
Here you can arranged the content of the gallery main page. Use following abbreviation(without ') seperated with a /:
'catlist': for diaplaying the category list
'alblist': for diaplaying album list

'random,x': random pictures with x rows
'lastup,x': last uploads with x rows
'topn,x': most viewed with x rows
'toprated,x': top rated with x rows
'lastcom,x': last comments with x rows
'mostsend,x': most sent ecards with x rows
'lasthits,x': last hits with x rows

Example: 'catlist/alblist/random,2/lastcom,2/lasthits,1' this displays the category and album list, 2 rows of random pics, 2 rows of last commented pics and 1 row of the last hits.
Excluding catlist and alblist, you can use this commands for the meta albums block, too.



10
bigbrofan
Is there a Contact US Module with...
  • 2004/12/23 5:26

  • bigbrofan

  • Just popping in

  • Posts: 22

  • Since: 2004/11/25


I am looking for a contact us module where the user can select from a list of people to contact... (I'm thinking a multi-select box) This list would be populated in the Admin area and might include things like: President, Vice President, Marketing, Sales, etc.... For each title there would be an email address associated with it.

When the user selects this Contact US module they would be presented with a Contact form where the first thing they need to select is who they want to send the Contact US information to... It would then have the standard Contact Us stuff...




TopTop
(1) 2 3 »



Login

Who's Online

190 user(s) are online (109 user(s) are browsing Support Forums)


Members: 0


Guests: 190


more...

Donat-O-Meter

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

Latest GitHub Commits