81
mrphilong
Wrong Database collation
  • 2008/12/23 9:54

  • mrphilong

  • Quite a regular

  • Posts: 351

  • Since: 2006/7/14


While upgrading from XOOPS 2.0xx to 2.3xx my database collation changed from

utf8_unicode_ci ----> to ----> utf8_general_ci

the characters display correctly on the when accessing the website, however, they are unreadable through phpMyAdmin.

Much appreciate if anyone able to help change the collation back to utf8_unicode_ci
www.UcChau.Net
www.XoopsViet.Org



82
mrphilong
Re: Blank admin.php on 2.3.2b - no errors - tried all the FAQ fixes
  • 2008/12/23 9:41

  • mrphilong

  • Quite a regular

  • Posts: 351

  • Since: 2006/7/14


Check your mainfile.php make sure you have the following:

define( 'XOOPS_ROOT_PATH', '..........' );
define( 'XOOPS_PATH', '........../XoopsTrustPath' );
define( 'XOOPS_VAR_PATH', '........../xoops_data' );
define("XOOPS_TRUST_PATH", XOOPS_PATH);
www.UcChau.Net
www.XoopsViet.Org



83
mrphilong
Hack 4 Lexikon using Koivi on Xoops 2.3.2a
  • 2008/12/6 7:45

  • mrphilong

  • Quite a regular

  • Posts: 351

  • Since: 2006/7/14


modify include\function.php

change from
if ( is_readable(XOOPS_ROOT_PATH "/class/xoopseditor/koivi/formwysiwygtextarea.php"))    {
                include_once(
XOOPS_ROOT_PATH "/class/xoopseditor/koivi/formwysiwygtextarea.php");


to

if ( is_readable(XOOPS_ROOT_PATH "/class/wysiwyg/formwysiwygtextarea.php"))    {
                include_once(
XOOPS_ROOT_PATH "/class/wysiwyg/formwysiwygtextarea.php");
www.UcChau.Net
www.XoopsViet.Org



84
mrphilong
Re: random image in header? possable or no?
  • 2008/12/4 5:13

  • mrphilong

  • Quite a regular

  • Posts: 351

  • Since: 2006/7/14


Have a look at this script

<?php
/*
By Matt Mullenweg > http://photomatt.net
Inspired by Dan Benjamin > http://hiveware.com/imagerotator.php
Latest version always at:
http://photomatt.net/scripts/randomimage
*/// Make this the relative path to the images, like "../img" or "random/images/".
// If the images are in the same directory, leave it blank.
$folder '';

// Space seperated list of extensions, you probably won't have to change this.
$exts 'jpg jpeg png gif';

$files = array(); $i = -1// Initialize some variables
if ('' == $folder$folder './';

$handle opendir($folder);
$exts explode(' '$exts);
while (
false !== ($file readdir($handle))) {
foreach(
$exts as $ext) { // for each extension check the extension
if (preg_match('/.'.$ext.'$/i'$file$test)) { // faster than ereg, case insensitive
$files[] = $file// it’s good
++$i;
}
}
}
closedir($handle); // We’re not using it anymore
mt_srand((double)microtime()*1000000); // seed for PHP < 4.2
$rand mt_rand(0$i); // $i was incremented as we went along

header('Location: '.$folder.$files[$rand]); // Voila!
?>


Demo UcChau.Net
www.UcChau.Net
www.XoopsViet.Org



85
mrphilong
Re: Can't send lost password or confirmation email
  • 2008/11/29 6:45

  • mrphilong

  • Quite a regular

  • Posts: 351

  • Since: 2006/7/14


Thankyou both for your speedy responses, I changed my admin email back to xoops_adminxxx@mydomain.com and now it works.
www.UcChau.Net
www.XoopsViet.Org



86
mrphilong
Can't send lost password or confirmation email
  • 2008/11/29 1:42

  • mrphilong

  • Quite a regular

  • Posts: 351

  • Since: 2006/7/14


Just found out that there is something wrong with sending Lost password and confirmation code to the users;

Here is what I got:

Quote:

----- The following addresses had permanent fatal errors -----
<xoops-userxxx@hotmail.com>
(reason: 553 sorry, your mail was administratively denied. (#5.7.1))

----- Transcript of session follows -----
... while talking to relay-hosting.secureserver.net:
>>> MAIL From:<xoops_adminxxx@gmail.com>
<<< 553 sorry, your mail was administratively denied. (#5.7.1)
501 5.6.0 Data format error

Final-Recipient: RFC822; xoops_userxxx@hotmail.com
Action: failed
Status: 5.1.3
Diagnostic-Code: SMTP; 553 sorry, your mail was administratively denied. (#5.7.1)
Last-Attempt-Date: Fri, 28 Nov 2008 01:55:08 -0700


I have written to Godaddy my hosting provider and this is their response:

Quote:

Thank you for contacting Online Support. Some email addresses, such as those with gmail.com, aol.com, hotmail.com, msn.com, and yahoo.co.in, are blocked due to security reasons. These mail providers view our relay servers as sending Spam and to avoid being listed as a spamming company we do not allow you to use these as the from addresses with our hosting if you have a form on the site.


What is all of this means? my XOOPS site used to sent email out ok.
www.UcChau.Net
www.XoopsViet.Org



87
mrphilong
Re: CBB 3.08 Sync forum - lost posts - HELP
  • 2008/11/27 12:09

  • mrphilong

  • Quite a regular

  • Posts: 351

  • Since: 2006/7/14


I've restored data from backup, lost post not found once sync or update newbb.

For those upgrading to XOOPS 2.3.1:

- Backup data.
- Do Not Sync or Update Newbb.
www.UcChau.Net
www.XoopsViet.Org



88
mrphilong
Auto email members
  • 2008/11/23 23:59

  • mrphilong

  • Quite a regular

  • Posts: 351

  • Since: 2006/7/14


Is there a way for XOOPS to send an alert when there is a message in the inbox or to the forum moderator when there is a new post in a particular forum.
www.UcChau.Net
www.XoopsViet.Org



89
mrphilong
Re: Unreadable characters in phpMyAdmin
  • 2008/11/21 22:45

  • mrphilong

  • Quite a regular

  • Posts: 351

  • Since: 2006/7/14


^bump

If you are a non English website, look into your db using phpMyAdmin. Does the characters the same as it is display on your website?
www.UcChau.Net
www.XoopsViet.Org



90
mrphilong
Re: problem in newbb after upgrade to xoops 2.3.1
  • 2008/11/21 22:41

  • mrphilong

  • Quite a regular

  • Posts: 351

  • Since: 2006/7/14


Doesn't work Vietnam, lost post hasn't come back.

Warning to ALL NEWBB + XOOPS 2.3.1: DO NOT "SYNC" or "UPDATE" the NEWBB!
www.UcChau.Net
www.XoopsViet.Org




TopTop
« 1 ... 6 7 8 (9) 10 11 12 ... 27 »



Login

Who's Online

147 user(s) are online (96 user(s) are browsing Support Forums)


Members: 0


Guests: 147


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