21
mrphilong
Re: Xoops 2.5 and mxdirectory_V3_0_1_RC1 by tripmon Errors
  • 2013/8/2 13:44

  • mrphilong

  • Quite a regular

  • Posts: 351

  • Since: 2006/7/14


The module works with errors

Errors
Notice: Undefined offset: 0 in file /modules/mxdirectory/include/functions.php line 278
Notice: Undefined offset: 0 in file /modules/mxdirectory/include/functions.php line 278
Notice: Undefined offset: 0 in file /modules/mxdirectory/include/functions.php line 278
Notice: Undefined offset: 0 in file /modules/mxdirectory/include/functions.php line 278
Notice: Undefined offset: 0 in file /modules/mxdirectory/include/functions.php line 278
Notice: Undefined offset: 0 in file /modules/mxdirectory/include/functions.php line 278
Notice: Undefined offset: 0 in file /modules/mxdirectory/include/functions.php line 278
Notice: Undefined offset: 0 in file /modules/mxdirectory/include/functions.php line 278
Notice: Undefined offset: 0 in file /modules/mxdirectory/include/functions.php line 278
Notice: Undefined offset: 0 in file /modules/mxdirectory/include/functions.php line 278
Notice: Undefined offset: 0 in file /modules/mxdirectory/include/functions.php line 278
Notice: Undefined offset: 0 in file /modules/mxdirectory/include/functions.php line 278


'Database::getInstance();' is deprecated since XOOPS 2.5.4, please use 'XoopsDatabaseFactory::getDatabaseConnection();' instead.



22
mrphilong
Xoops 2.5 and mxdirectory_V3_0_1_RC1 by tripmon Errors

Got some errors to report;

Errors
Unknown: Function ereg() is deprecated in file /modules/mxdirectory/header.php line 35
Unknown: Function split() is deprecated in file /modules/mxdirectory/header.php line 38
Notice: Undefined offset: 0 in file /modules/mxdirectory/include/functions.php line 278
Notice: Undefined offset: 0 in file /modules/mxdirectory/include/functions.php line 278
Notice: Undefined offset: 0 in file /modules/mxdirectory/include/functions.php line 278
Notice: Undefined offset: 0 in file /modules/mxdirectory/include/functions.php line 278
Notice: Undefined offset: 0 in file /modules/mxdirectory/include/functions.php line 278
Notice: Undefined offset: 0 in file /modules/mxdirectory/include/functions.php line 278
Notice: Undefined offset: 0 in file /modules/mxdirectory/include/functions.php line 278
Notice: Undefined offset: 0 in file /modules/mxdirectory/include/functions.php line 278
Notice: Undefined offset: 0 in file /modules/mxdirectory/include/functions.php line 278
Notice: Undefined offset: 0 in file /modules/mxdirectory/include/functions.php line 278
Notice: Undefined offset: 0 in file /modules/mxdirectory/include/functions.php line 278
Notice: Undefined offset: 0 in file /modules/mxdirectory/include/functions.php line 278


Deprecated
'Database::getInstance();' is deprecated since XOOPS 2.5.4, please use 'XoopsDatabaseFactory::getDatabaseConnection();' instead.
Class 'XoopsTree' is deprecated, check 'XoopsObjectTree' in tree.php
Class 'XoopsTree' is deprecated, check 'XoopsObjectTree' in tree.php
Class 'XoopsTree' is deprecated, check 'XoopsObjectTree' in tree.php
Class 'XoopsTree' is deprecated, check 'XoopsObjectTree' in tree.php



23
mrphilong
CPU Abuse on Share host

Hi All,

I received the below message from my web hosting provider, what could I do to reduce the high usage? I am using Xoops 2.5.5, my newbb, news and APCal are update.

root@server01 [~]# ps aux | grep MYACCOUNT
MYACCOUNT 28730 99.9 0.0 257900 17384 ? R 17:27 0:34 /usr/bin/php /home/MYACCOUNT/public_html/modules/newbb/viewpost.php
MYACCOUNT 29369 4.3 0.0 265648 25368 ? S 17:28 0:00 /usr/bin/php /home/MYACCOUNT/public_html/modules/news/article.php
root 29411 0.0 0.0 61184 776 pts/0 S+ 17:28 0:00 grep MYACCOUNT

root@server01 [~]# /usr/local/cpanel/bin/dcpumonview | sed -e 's/<[^>]*>/ /g' | grep MYACCOUNT
MYACCOUNT domain.net 24.53 0.02 0.2
Top Process %CPU 100 /usr/bin/php /home/MYACCOUNT/public_html/modules/newbb/viewtopic.php
Top Process %CPU 99.7 /usr/bin/php /home/MYACCOUNT/public_html/modules/APCal/index.php
Top Process %CPU 99.5 /usr/bin/php /home/MYACCOUNT/public_html/modules/news/article.php

root@server01 [~]# mysqladmin pr | grep MYACCOUNT

User Domain % CPU % MEM MySQL Processes
MYACCOUNT domain.net 1.55 0.02 0.2



24
mrphilong
Re: IP address relocated
  • 2012/11/30 13:25

  • mrphilong

  • Quite a regular

  • Posts: 351

  • Since: 2006/7/14


Hi Karl,

try this

# Turn on rewrites.
RewriteEngine on

# Add trailing slash if path does not contain a period or end with a slash
RewriteCond %{REQUEST_URI} !(.|/$)
RewriteRule (.*) http://www.example.com/$1/ [R=301,L]

# Change http://example.com to http://www.example.com (Optional)
RewriteCond %{HTTP_HOST} ^example.com$
RewriteRule ^/?(.*)$ http://www.example.com/$1 [R=301,L]

# Only apply to URLs on this domain
RewriteCond %{HTTP_HOST} ^(www.)?example.com$



25
mrphilong
Re: IP address relocated
  • 2012/11/26 12:14

  • mrphilong

  • Quite a regular

  • Posts: 351

  • Since: 2006/7/14


Hi Karl,

I too have had issue with .htacces on Godaddy, suggest you to remove it first and follow the below link, find your new host IP address and update A record.

http://support.godaddy.com/groups/domains-management-and-services/forum/topic/removing-default-godaddy-parking-page/

allow 2-48hours.



26
mrphilong
Re: Unreadable text in mysql database
  • 2012/11/21 13:57

  • mrphilong

  • Quite a regular

  • Posts: 351

  • Since: 2006/7/14


For those having the same issue;

Using phpMyAdmin export the tables module by module
1. edit the .sql file with Notepad++
2. copy and convert "Encode to UTF-8 without BOM"
3. paste back in the original file and save.
4. import.



27
mrphilong
Re: News 1.67 - Suspension Reason: Excessive Resource Consumption
  • 2012/11/21 13:52

  • mrphilong

  • Quite a regular

  • Posts: 351

  • Since: 2006/7/14


Hi Guys,

I couldn't pin point a particular module that was using "Excessive Resource", I don't think it was article.php. What I did was, unistalled/re-installed the some modules, dont ask which as I don't remember and it seem to solved it.



28
mrphilong
News 1.67 - Suspension Reason: Excessive Resource Consumption
  • 2012/11/20 11:06

  • mrphilong

  • Quite a regular

  • Posts: 351

  • Since: 2006/7/14


Hi All,

My hosting provider has Suspended my account due to "Suspension Reason: Excessive Resource Consumption", they have provide the below logs but it doesn't make sense to me. Anyone has issue with the news 1.67?

MyAccount 604425 0.1 0.7 328056 28932 S 19:09 0:00 /usr/bin/php /home/MyAccount/public_html/modules/news/article.php
MyAccount 604396 0.1 0.0 0 0 
Z 19:08 0:00 [php] <defunct>
MyAccount 604379 0.1 0.0 0 0 Z 19:08 0:00 [php] <defunct>
MyAccount 604436 0.1 0.0 0 0 Z 19:09 0:00 [php] <defunct>
MyAccount 604569 0.0 0.6 326972 27612 S 19:10 0:00 /usr/bin/php /home/MyAccount/public_html/modules/news/article.php
MyAccount 604595 0.0 0.6 269424 26944 
S 19:11 0:00 /usr/bin/php /home/MyAccount/public_html/modules/news/article.php
MyAccount 604480 0.0 0.6 203884 26928 
S 19:09 0:00 /usr/bin/php /home/MyAccount/public_html/modules/news/article.php
MyAccount 604483 0.0 0.6 326972 27608 
S 19:10 0:00 /usr/bin/php /home/MyAccount/public_html/modules/news/article.php
MyAccount 604490 0.0 0.6 326972 27600 
S 19:10 0:00 /usr/bin/php /home/MyAccount/public_html/modules/news/article.php
MyAccount 604527 0.0 0.6 269420 26936 
S 19:10 0:00 /usr/bin/php /home/MyAccount/public_html/modules/news/article.php
MyAccount 605073 0.4 0.6 270096 27872 
S 19:15 0:00 /usr/bin/php /home/MyAccount/public_html/index.php
MyAccount 604636 0.0 0.6 269420 26944 
S 19:11 0:00 /usr/bin/php /home/MyAccount/public_html/modules/news/article.php
MyAccount 606440 7.6 0.6 267080 24768 
S 19:17 0:00 /usr/bin/php /home/MyAccount/public_html/modules/news/article.php
MyAccount 604722 0.0 0.6 267080 24776 
S 19:12 0:00 /usr/bin/php /home/MyAccount/public_html/modules/news/article.php
MyAccount 604660 0.0 0.6 267080 24772 
S 19:11 0:00 /usr/bin/php /home/MyAccount/public_html/modules/news/article.php
MyAccount 605085 0.2 0.6 267080 24764 
S 19:15 0:00 /usr/bin/php /home/MyAccount/public_html/modules/news/article.php
MyAccount 605020 0.2 0.6 324524 25032 
S 19:15 0:00 /usr/bin/php /home/MyAccount/public_html/backend.php
MyAccount 604896 0.1 0.6 267080 24768 
S 19:14 0:00 /usr/bin/php /home/MyAccount/public_html/modules/news/article.php



29
mrphilong
Unreadable text in mysql database
  • 2012/11/15 23:33

  • mrphilong

  • Quite a regular

  • Posts: 351

  • Since: 2006/7/14


Due to moving to a new hosting provider, I need to import the database back into my new hoster. After importing text on my new hoster is unreadable and having a look into the database the text is the same.

New hoster:
Text on website: Danh sách di dân theo tay nghề
Text in mysql database: Danh sách di dân theo tay nghề

Old hoster:
Text on website: Danh sách di dân theo tay nghề <<readable and correct!
Text in mysql database: Danh sách di dân theo tay nghề

anyone come across this issue could you please share how to fix it.




30
mrphilong
Re: Inception Theme help and troubleshooting
  • 2012/11/8 0:01

  • mrphilong

  • Quite a regular

  • Posts: 351

  • Since: 2006/7/14


Class 'MWFunctions' not found in /...../themes/inception/assemble/inception-options.php on line 22




TopTop
« 1 2 (3) 4 5 6 ... 27 »



Login

Who's Online

131 user(s) are online (72 user(s) are browsing Support Forums)


Members: 0


Guests: 131


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